setup.py
This file
Path
setup.py
83 lines · 2.6 KiB · Python
Last changed by
Merge pull request #3021 from CasterWxBlog/masterDavid Lordbefore adoptionf2dd7ef
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 ('Documentation', 'http://flask.pocoo.org/docs/'),21 ('Code', 'https://github.com/pallets/flask'),22 ('Issue tracker', 'https://github.com/pallets/flask/issues'),23 )),24 license='BSD',25 author='Armin Ronacher',26 author_email='armin.ronacher@active-4.com',27 maintainer='Pallets team',28 maintainer_email='contact@palletsprojects.com',29 description='A simple framework for building complex web applications.',30 long_description=readme,31 packages=['flask', 'flask.json'],32 include_package_data=True,33 zip_safe=False,34 platforms='any',35 python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',36 install_requires=[37 'Werkzeug>=0.14',38 'Jinja2>=2.10',39 'itsdangerous>=0.24',40 'click>=5.1',41 ],42 extras_require={43 'dotenv': ['python-dotenv'],44 'dev': [45 'pytest>=3',46 'coverage',47 'tox',48 'sphinx',49 'pallets-sphinx-themes',50 'sphinxcontrib-log-cabinet',51 ],52 'docs': [53 'sphinx',54 'pallets-sphinx-themes',55 'sphinxcontrib-log-cabinet',56 ]57 },58 classifiers=[59 'Development Status :: 5 - Production/Stable',60 'Environment :: Web Environment',61 'Framework :: Flask',62 'Intended Audience :: Developers',63 'License :: OSI Approved :: BSD License',64 'Operating System :: OS Independent',65 'Programming Language :: Python',66 'Programming Language :: Python :: 2',67 'Programming Language :: Python :: 2.7',68 'Programming Language :: Python :: 3',69 'Programming Language :: Python :: 3.4',70 'Programming Language :: Python :: 3.5',71 'Programming Language :: Python :: 3.6',72 'Programming Language :: Python :: 3.7',73 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',74 'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',75 'Topic :: Software Development :: Libraries :: Application Frameworks',76 'Topic :: Software Development :: Libraries :: Python Modules',77 ],78 entry_points={79 'console_scripts': [80 'flask = flask.cli:main',81 ],82 },83)