]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
stop building universal wheel
authorDavid Lord <davidism@gmail.com>
Tue, 28 Jan 2020 14:41:07 +0000 (06:41 -0800)
committerDavid Lord <davidism@gmail.com>
Wed, 5 Feb 2020 16:37:40 +0000 (08:37 -0800)
setup.cfg
setup.py

index 9dff382cf9154f202f77224a4a236c3667fdd39e..5d3d02ee5c95e02c47837b87c790383151cc609e 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,10 +1,8 @@
 [metadata]
 license_file = LICENSE.rst
+long_description = file:README.rst
 long_description_content_type = text/x-rst
 
-[bdist_wheel]
-universal = true
-
 [tool:pytest]
 testpaths = tests
 filterwarnings =
index 050d3e22741304d0cd5f8f57db4a086246ff9cf9..f5ad968e844121713727e5c8c906eed827bb9282 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1,13 +1,9 @@
-import io
 import re
 
 from setuptools import find_packages
 from setuptools import setup
 
-with io.open("README.rst", "rt", encoding="utf8") as f:
-    readme = f.read()
-
-with io.open("src/jinja2/__init__.py", "rt", encoding="utf8") as f:
+with open("src/jinja2/__init__.py", "rt", encoding="utf8") as f:
     version = re.search(r'__version__ = "(.*?)"', f.read(), re.M).group(1)
 
 setup(
@@ -23,7 +19,6 @@ setup(
     maintainer="Pallets",
     maintainer_email="contact@palletsprojects.com",
     description="A very fast and expressive template engine.",
-    long_description=readme,
     classifiers=[
         "Development Status :: 5 - Production/Stable",
         "Environment :: Web Environment",