Skip to content
Myr

setup.py

This file

Path

setup.py

67 lines · 2.1 KiB · Python

Last changed by

revert copyright year to project startDavid Lordbefore adoption310fbfc

History of this file

Take 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        ],42    },43    classifiers=[44        'Development Status :: 5 - Production/Stable',45        'Environment :: Web Environment',46        'Framework :: Flask',47        'Intended Audience :: Developers',48        'License :: OSI Approved :: BSD License',49        'Operating System :: OS Independent',50        'Programming Language :: Python',51        'Programming Language :: Python :: 2',52        'Programming Language :: Python :: 2.7',53        'Programming Language :: Python :: 3',54        'Programming Language :: Python :: 3.4',55        'Programming Language :: Python :: 3.5',56        'Programming Language :: Python :: 3.6',57        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',58        'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',59        'Topic :: Software Development :: Libraries :: Application Frameworks',60        'Topic :: Software Development :: Libraries :: Python Modules',61    ],62    entry_points={63        'console_scripts': [64            'flask = flask.cli:main',65        ],66    },67)