diff options
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 73 |
1 files changed, 32 insertions, 41 deletions
@@ -1,17 +1,17 @@ import io import re -from setuptools import find_packages, setup +from setuptools import find_packages +from setuptools import setup -with io.open('README.rst', 'rt', encoding='utf8') as f: +with io.open("README.rst", "rt", encoding="utf8") as f: readme = f.read() -with io.open('src/werkzeug/__init__.py', 'rt', encoding='utf8') as f: - version = re.search( - r'__version__ = \'(.*?)\'', f.read(), re.M).group(1) +with io.open("src/werkzeug/__init__.py", "rt", encoding="utf8") as f: + version = re.search(r'__version__ = "(.*?)"', f.read(), re.M).group(1) setup( - name='Werkzeug', + name="Werkzeug", version=version, url="https://palletsprojects.com/p/werkzeug/", project_urls={ @@ -19,53 +19,44 @@ setup( "Code": "https://github.com/pallets/werkzeug", "Issue tracker": "https://github.com/pallets/werkzeug/issues", }, - license='BSD-3-Clause', - author='Armin Ronacher', - author_email='armin.ronacher@active-4.com', + license="BSD-3-Clause", + author="Armin Ronacher", + author_email="armin.ronacher@active-4.com", maintainer="The Pallets Team", maintainer_email="contact@palletsprojects.com", - description='The comprehensive WSGI web application library.', + description="The comprehensive WSGI web application library.", long_description=readme, classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Environment :: Web Environment', - 'Intended Audience :: Developers', - 'License :: OSI Approved :: BSD License', - 'Operating System :: OS Independent', - 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.4', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', + "Development Status :: 5 - Production/Stable", + "Environment :: Web Environment", + "Intended Audience :: Developers", + "License :: OSI Approved :: BSD License", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Programming Language :: Python :: 2", + "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.4", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", - 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', - 'Topic :: Internet :: WWW/HTTP :: WSGI', - 'Topic :: Internet :: WWW/HTTP :: WSGI :: Application', - 'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware', - 'Topic :: Software Development :: Libraries :: Application Frameworks', - 'Topic :: Software Development :: Libraries :: Python Modules', + "Topic :: Internet :: WWW/HTTP :: Dynamic Content", + "Topic :: Internet :: WWW/HTTP :: WSGI", + "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", + "Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware", + "Topic :: Software Development :: Libraries :: Application Frameworks", + "Topic :: Software Development :: Libraries :: Python Modules", ], packages=find_packages("src"), package_dir={"": "src"}, include_package_data=True, python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", extras_require={ - 'watchdog': ['watchdog'], - 'termcolor': ['termcolor'], - 'dev': [ - 'pytest', - 'coverage', - 'tox', - 'sphinx', - 'pallets-sphinx-themes', - ], - 'docs': [ - 'sphinx', - 'pallets-sphinx-themes', - ] + "watchdog": ["watchdog"], + "termcolor": ["termcolor"], + "dev": ["pytest", "coverage", "tox", "sphinx", "pallets-sphinx-themes"], + "docs": ["sphinx", "pallets-sphinx-themes"], }, ) |
