flask/setup.py

80 lines
2.5 KiB
Python
Raw Normal View History

#!/usr/bin/env python
# -*- coding: utf-8 -*-
import io
2015-02-07 01:06:16 +08:00
import re
from setuptools import setup
with io.open('README.rst', 'rt', encoding='utf8') as f:
readme = f.read()
2015-02-07 01:06:16 +08:00
with io.open('flask/__init__.py', 'rt', encoding='utf8') as f:
version = re.search(r'__version__ = \'(.*?)\'', f.read()).group(1)
2010-04-06 19:23:18 +08:00
setup(
name='Flask',
2015-02-07 01:06:16 +08:00
version=version,
url='https://www.palletsprojects.com/p/flask/',
2010-04-06 19:23:18 +08:00
license='BSD',
author='Armin Ronacher',
author_email='armin.ronacher@active-4.com',
maintainer='Pallets team',
maintainer_email='contact@palletsprojects.com',
description='A simple framework for building complex web applications.',
long_description=readme,
2017-06-26 23:47:28 +08:00
packages=['flask', 'flask.json'],
2011-09-22 20:08:03 +08:00
include_package_data=True,
2010-04-06 19:23:18 +08:00
zip_safe=False,
platforms='any',
project_urls={
'Bug Tracker': 'https://github.com/pallets/flask/issues',
'Documentation': 'http://flask.pocoo.org/',
'Source Code': 'https://github.com/pallets/flask',
},
install_requires=[
2018-02-07 00:03:09 +08:00
'Werkzeug>=0.14',
'Jinja2>=2.10',
'itsdangerous>=0.24',
'click>=5.1',
2010-04-16 20:24:12 +08:00
],
extras_require={
2017-07-15 13:37:53 +08:00
'dotenv': ['python-dotenv'],
'dev': [
'pytest>=3',
'coverage',
'tox',
'sphinx',
'pallets-sphinx-themes',
'sphinxcontrib-log-cabinet',
],
'docs': [
'sphinx',
'pallets-sphinx-themes',
'sphinxcontrib-log-cabinet',
]
},
2010-04-16 20:24:12 +08:00
classifiers=[
2018-02-07 00:03:09 +08:00
'Development Status :: 5 - Production/Stable',
2010-04-16 20:24:12 +08:00
'Environment :: Web Environment',
2018-02-07 00:03:09 +08:00
'Framework :: Flask',
2010-04-16 20:24:12 +08:00
'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',
2017-05-29 02:52:01 +08:00
'Programming Language :: Python :: 3.6',
2010-04-16 20:24:12 +08:00
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
2018-02-07 00:03:09 +08:00
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
2010-05-31 23:53:10 +08:00
],
2018-02-07 00:03:09 +08:00
entry_points={
'console_scripts': [
'flask = flask.cli:main',
],
},
2010-04-06 19:23:18 +08:00
)