Skip to content
Myr

setup.py

This file

Path

setup.py

56 lines · 2.1 KiB · Python

Last changed by

add python 3.8 classifier, clean up changelogDavid Lordbefore adoption9ff27f6

History of this file

Take it

1import io2import re34from setuptools import find_packages5from setuptools import setup67with io.open("README.rst", "rt", encoding="utf8") as f:8    readme = f.read()910with io.open("src/jinja2/__init__.py", "rt", encoding="utf8") as f:11    version = re.search(r'__version__ = "(.*?)"', f.read(), re.M).group(1)1213setup(14    name="Jinja2",15    version=version,16    url="https://palletsprojects.com/p/jinja/",17    project_urls={18        "Documentation": "https://jinja.palletsprojects.com/",19        "Code": "https://github.com/pallets/jinja",20        "Issue tracker": "https://github.com/pallets/jinja/issues",21    },22    license="BSD-3-Clause",23    author="Armin Ronacher",24    author_email="armin.ronacher@active-4.com",25    maintainer="Pallets",26    maintainer_email="contact@palletsprojects.com",27    description="A very fast and expressive template engine.",28    long_description=readme,29    classifiers=[30        "Development Status :: 5 - Production/Stable",31        "Environment :: Web Environment",32        "Intended Audience :: Developers",33        "License :: OSI Approved :: BSD License",34        "Operating System :: OS Independent",35        "Programming Language :: Python",36        "Programming Language :: Python :: 2",37        "Programming Language :: Python :: 2.7",38        "Programming Language :: Python :: 3",39        "Programming Language :: Python :: 3.5",40        "Programming Language :: Python :: 3.6",41        "Programming Language :: Python :: 3.7",42        "Programming Language :: Python :: 3.8",43        "Programming Language :: Python :: Implementation :: CPython",44        "Programming Language :: Python :: Implementation :: PyPy",45        "Topic :: Internet :: WWW/HTTP :: Dynamic Content",46        "Topic :: Software Development :: Libraries :: Python Modules",47        "Topic :: Text Processing :: Markup :: HTML",48    ],49    packages=find_packages("src"),50    package_dir={"": "src"},51    include_package_data=True,52    python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",53    install_requires=["MarkupSafe>=0.23"],54    extras_require={"i18n": ["Babel>=0.8"]},55    entry_points={"babel.extractors": ["jinja2 = jinja2.ext:babel_extract[i18n]"]},56)