setup.py
This file
Path
setup.py
77 lines · 2.6 KiB · Python
Last changed by
Merge pull request #3183 from singingwolfboy/pre-commitDavid Baumgoldbefore adoption1dda032
History of this fileTake it
1#!/usr/bin/env python2# -*- coding: utf-8 -*-3import io4import re5from collections import OrderedDict67from setuptools import setup89with io.open("README.rst", "rt", encoding="utf8") as f:10 readme = f.read()1112with io.open("flask/__init__.py", "rt", encoding="utf8") as f:13 version = re.search(r"__version__ = \"(.*?)\"", f.read()).group(1)1415setup(16 name="Flask",17 version=version,18 url="https://www.palletsprojects.com/p/flask/",19 project_urls=OrderedDict(20 (21 ("Documentation", "http://flask.pocoo.org/docs/"),22 ("Code", "https://github.com/pallets/flask"),23 ("Issue tracker", "https://github.com/pallets/flask/issues"),24 )25 ),26 license="BSD",27 author="Armin Ronacher",28 author_email="armin.ronacher@active-4.com",29 maintainer="Pallets team",30 maintainer_email="contact@palletsprojects.com",31 description="A simple framework for building complex web applications.",32 long_description=readme,33 packages=["flask", "flask.json"],34 include_package_data=True,35 zip_safe=False,36 platforms="any",37 python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*",38 install_requires=[39 "Werkzeug>=0.14",40 "Jinja2>=2.10.1",41 "itsdangerous>=0.24",42 "click>=5.1",43 ],44 extras_require={45 "dotenv": ["python-dotenv"],46 "dev": [47 "pytest>=3",48 "coverage",49 "tox",50 "sphinx",51 "pallets-sphinx-themes",52 "sphinxcontrib-log-cabinet",53 ],54 "docs": ["sphinx", "pallets-sphinx-themes", "sphinxcontrib-log-cabinet"],55 },56 classifiers=[57 "Development Status :: 5 - Production/Stable",58 "Environment :: Web Environment",59 "Framework :: Flask",60 "Intended Audience :: Developers",61 "License :: OSI Approved :: BSD License",62 "Operating System :: OS Independent",63 "Programming Language :: Python",64 "Programming Language :: Python :: 2",65 "Programming Language :: Python :: 2.7",66 "Programming Language :: Python :: 3",67 "Programming Language :: Python :: 3.4",68 "Programming Language :: Python :: 3.5",69 "Programming Language :: Python :: 3.6",70 "Programming Language :: Python :: 3.7",71 "Topic :: Internet :: WWW/HTTP :: Dynamic Content",72 "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",73 "Topic :: Software Development :: Libraries :: Application Frameworks",74 "Topic :: Software Development :: Libraries :: Python Modules",75 ],76 entry_points={"console_scripts": ["flask = flask.cli:main"]},77)