setup.py
This file
Path
setup.py
74 lines · 2.3 KiB · Python
Last changed by
Merge pull request #2709 from davidism/docs-themeDavid Lordbefore adoption5fba092
History of this fileTake it
1#!/usr/bin/env python2# -*- coding: utf-8 -*-3import io4import re5from 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://www.palletsprojects.com/p/flask/',17 license='BSD',18 author='Armin Ronacher',19 author_email='armin.ronacher@active-4.com',20 maintainer='Pallets team',21 maintainer_email='contact@palletsprojects.com',22 description='A simple framework for building complex web applications.',23 long_description=readme,24 packages=['flask', 'flask.json'],25 include_package_data=True,26 zip_safe=False,27 platforms='any',28 install_requires=[29 'Werkzeug>=0.14',30 'Jinja2>=2.10',31 'itsdangerous>=0.24',32 'click>=5.1',33 ],34 extras_require={35 'dotenv': ['python-dotenv'],36 'dev': [37 'pytest>=3',38 'coverage',39 'tox',40 'sphinx',41 'pallets-sphinx-themes',42 'sphinxcontrib-log-cabinet',43 ],44 'docs': [45 'sphinx',46 'pallets-sphinx-themes',47 'sphinxcontrib-log-cabinet',48 ]49 },50 classifiers=[51 'Development Status :: 5 - Production/Stable',52 'Environment :: Web Environment',53 'Framework :: Flask',54 'Intended Audience :: Developers',55 'License :: OSI Approved :: BSD License',56 'Operating System :: OS Independent',57 'Programming Language :: Python',58 'Programming Language :: Python :: 2',59 'Programming Language :: Python :: 2.7',60 'Programming Language :: Python :: 3',61 'Programming Language :: Python :: 3.4',62 'Programming Language :: Python :: 3.5',63 'Programming Language :: Python :: 3.6',64 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',65 'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',66 'Topic :: Software Development :: Libraries :: Application Frameworks',67 'Topic :: Software Development :: Libraries :: Python Modules',68 ],69 entry_points={70 'console_scripts': [71 'flask = flask.cli:main',72 ],73 },74)