setup.py
This file
Path
setup.py
81 lines · 2.5 KiB · Python
Last changed by
fix project urlsDavid Lordbefore adoption3fd7abe
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 install_requires=[36 'Werkzeug>=0.14',37 'Jinja2>=2.10',38 'itsdangerous>=0.24',39 'click>=5.1',40 ],41 extras_require={42 'dotenv': ['python-dotenv'],43 'dev': [44 'pytest>=3',45 'coverage',46 'tox',47 'sphinx',48 'pallets-sphinx-themes',49 'sphinxcontrib-log-cabinet',50 ],51 'docs': [52 'sphinx',53 'pallets-sphinx-themes',54 'sphinxcontrib-log-cabinet',55 ]56 },57 classifiers=[58 'Development Status :: 5 - Production/Stable',59 'Environment :: Web Environment',60 'Framework :: Flask',61 'Intended Audience :: Developers',62 'License :: OSI Approved :: BSD License',63 'Operating System :: OS Independent',64 'Programming Language :: Python',65 'Programming Language :: Python :: 2',66 'Programming Language :: Python :: 2.7',67 'Programming Language :: Python :: 3',68 'Programming Language :: Python :: 3.4',69 'Programming Language :: Python :: 3.5',70 'Programming Language :: Python :: 3.6',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={77 'console_scripts': [78 'flask = flask.cli:main',79 ],80 },81)