"Fossies" - the Fresh Open Source Software Archive

Member "flask-1.1.2/setup.py" (3 Apr 2020, 2799 Bytes) of package /linux/www/flask-1.1.2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Python source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. For more information about "setup.py" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 1.1.1_vs_1.1.2.

    1 import io
    2 import re
    3 
    4 from setuptools import find_packages
    5 from setuptools import setup
    6 
    7 with io.open("README.rst", "rt", encoding="utf8") as f:
    8     readme = f.read()
    9 
   10 with io.open("src/flask/__init__.py", "rt", encoding="utf8") as f:
   11     version = re.search(r'__version__ = "(.*?)"', f.read()).group(1)
   12 
   13 setup(
   14     name="Flask",
   15     version=version,
   16     url="https://palletsprojects.com/p/flask/",
   17     project_urls={
   18         "Documentation": "https://flask.palletsprojects.com/",
   19         "Code": "https://github.com/pallets/flask",
   20         "Issue tracker": "https://github.com/pallets/flask/issues",
   21     },
   22     license="BSD-3-Clause",
   23     author="Armin Ronacher",
   24     author_email="armin.ronacher@active-4.com",
   25     maintainer="Pallets",
   26     maintainer_email="contact@palletsprojects.com",
   27     description="A simple framework for building complex web applications.",
   28     long_description=readme,
   29     classifiers=[
   30         "Development Status :: 5 - Production/Stable",
   31         "Environment :: Web Environment",
   32         "Framework :: Flask",
   33         "Intended Audience :: Developers",
   34         "License :: OSI Approved :: BSD License",
   35         "Operating System :: OS Independent",
   36         "Programming Language :: Python",
   37         "Programming Language :: Python :: 2",
   38         "Programming Language :: Python :: 2.7",
   39         "Programming Language :: Python :: 3",
   40         "Programming Language :: Python :: 3.5",
   41         "Programming Language :: Python :: 3.6",
   42         "Programming Language :: Python :: 3.7",
   43         "Programming Language :: Python :: 3.8",
   44         "Programming Language :: Python :: Implementation :: CPython",
   45         "Programming Language :: Python :: Implementation :: PyPy",
   46         "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
   47         "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
   48         "Topic :: Software Development :: Libraries :: Application Frameworks",
   49         "Topic :: Software Development :: Libraries :: Python Modules",
   50     ],
   51     packages=find_packages("src"),
   52     package_dir={"": "src"},
   53     include_package_data=True,
   54     python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
   55     install_requires=[
   56         "Werkzeug>=0.15",
   57         "Jinja2>=2.10.1",
   58         "itsdangerous>=0.24",
   59         "click>=5.1",
   60     ],
   61     extras_require={
   62         "dotenv": ["python-dotenv"],
   63         "dev": [
   64             "pytest",
   65             "coverage",
   66             "tox",
   67             "sphinx",
   68             "pallets-sphinx-themes",
   69             "sphinxcontrib-log-cabinet",
   70             "sphinx-issues",
   71         ],
   72         "docs": [
   73             "sphinx",
   74             "pallets-sphinx-themes",
   75             "sphinxcontrib-log-cabinet",
   76             "sphinx-issues",
   77         ],
   78     },
   79     entry_points={"console_scripts": ["flask = flask.cli:main"]},
   80 )