setup.py
This file
Path
setup.py
77 lines · 2.6 KiB · Python
Last changed by
release version 1.0.4David Lordbefore adoption626b5cc
History of this fileTake 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("flask/__init__.py", "rt", encoding="utf8") as f:11 version = re.search(r"__version__ = \'(.*?)\'", f.read()).group(1)1213setup(14 name="Flask",15 version=version,16 url="https://palletsprojects.com/p/flask/",17 project_urls={18 "Documentation": "http://flask.palletsprojects.com/",19 "Code": "https://github.com/pallets/flask",20 "Issue tracker": "https://github.com/pallets/flask/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 simple framework for building complex web applications.",28 long_description=readme,29 classifiers=[30 "Development Status :: 5 - Production/Stable",31 "Environment :: Web Environment",32 "Framework :: Flask",33 "Intended Audience :: Developers",34 "License :: OSI Approved :: BSD License",35 "Operating System :: OS Independent",36 "Programming Language :: Python",37 "Programming Language :: Python :: 2",38 "Programming Language :: Python :: 2.7",39 "Programming Language :: Python :: 3",40 "Programming Language :: Python :: 3.4",41 "Programming Language :: Python :: 3.5",42 "Programming Language :: Python :: 3.6",43 "Programming Language :: Python :: 3.7",44 "Topic :: Internet :: WWW/HTTP :: Dynamic Content",45 "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",46 "Topic :: Software Development :: Libraries :: Application Frameworks",47 "Topic :: Software Development :: Libraries :: Python Modules",48 ],49 packages=find_packages(),50 include_package_data=True,51 python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",52 install_requires=[53 "Werkzeug>=0.14",54 "Jinja2>=2.10",55 "itsdangerous>=0.24",56 "click>=5.1",57 ],58 extras_require={59 "dotenv": ["python-dotenv"],60 "dev": [61 "pytest",62 "coverage",63 "tox",64 "sphinx",65 "pallets-sphinx-themes",66 "sphinxcontrib-log-cabinet",67 "sphinx-issues",68 ],69 "docs": [70 "sphinx",71 "pallets-sphinx-themes",72 "sphinxcontrib-log-cabinet",73 "sphinx-issues",74 ],75 },76 entry_points={"console_scripts": ["flask = flask.cli:main"]},77)