[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 =
-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(
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",