Skip to content
Myr

setup.py

This file

Path

setup.py

77 lines · 2.6 KiB · Python

Last changed by

Merge pull request #3183 from singingwolfboy/pre-commitDavid Baumgoldbefore adoption1dda032

History of this file

Take it

The walk stopped after 200 commits: lines older than e97f6e2 point at it.

Merge pull request #2624 from pallets/metadataDavid Lordbefore adoption4309c7c

lines 1–3why, one step back
1#!/usr/bin/env python
2# -*- coding: utf-8 -*-3import io

Merge pull request #2370 from tony/patch-2David Lordbefore adoptione97f6e2

line 4why, one step back
4import re

Merge pull request #2720 from pallets/setup-linkDavid Lordbefore adoption062745b

lines 5–6why, one step back
5from collections import OrderedDict
6

Merge pull request #2370 from tony/patch-2David Lordbefore adoptione97f6e2

lines 7–8why, one step back
7from setuptools import setup
8

Merge pull request #3183 from singingwolfboy/pre-commitDavid Baumgoldbefore adoption1dda032

line 9why, one step back
9with io.open("README.rst", "rt", encoding="utf8") as f:

Merge pull request #2624 from pallets/metadataDavid Lordbefore adoption4309c7c

line 10why, one step back
10 readme = f.read()

Merge pull request #2370 from tony/patch-2David Lordbefore adoptione97f6e2

line 11why, one step back
11

Merge pull request #3183 from singingwolfboy/pre-commitDavid Baumgoldbefore adoption1dda032

lines 12–13why, one step back
12with io.open("flask/__init__.py", "rt", encoding="utf8") as f:
13 version = re.search(r"__version__ = \"(.*?)\"", f.read()).group(1)

Merge pull request #2370 from tony/patch-2David Lordbefore adoptione97f6e2

lines 14–15why, one step back
14
15setup(

Merge pull request #3183 from singingwolfboy/pre-commitDavid Baumgoldbefore adoption1dda032

line 16why, one step back
16 name="Flask",

Merge pull request #2370 from tony/patch-2David Lordbefore adoptione97f6e2

line 17why, one step back
17 version=version,

Merge pull request #3183 from singingwolfboy/pre-commitDavid Baumgoldbefore adoption1dda032

lines 18–31why, one step back
18 url="https://www.palletsprojects.com/p/flask/",
19 project_urls=OrderedDict(20 (21 ("Documentation", "http://flask.pocoo.org/docs/"),22 ("Code", "https://github.com/pallets/flask"),23 ("Issue tracker", "https://github.com/pallets/flask/issues"),24 )25 ),26 license="BSD",27 author="Armin Ronacher",28 author_email="armin.ronacher@active-4.com",29 maintainer="Pallets team",30 maintainer_email="contact@palletsprojects.com",31 description="A simple framework for building complex web applications.",

Merge pull request #2624 from pallets/metadataDavid Lordbefore adoption4309c7c

line 32why, one step back
32 long_description=readme,

Merge pull request #3183 from singingwolfboy/pre-commitDavid Baumgoldbefore adoption1dda032

line 33why, one step back
33 packages=["flask", "flask.json"],

Merge pull request #2370 from tony/patch-2David Lordbefore adoptione97f6e2

lines 34–35why, one step back
34 include_package_data=True,
35 zip_safe=False,

Merge pull request #3183 from singingwolfboy/pre-commitDavid Baumgoldbefore adoption1dda032

lines 36–37why, one step back
36 platforms="any",
37 python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*",

Merge pull request #2370 from tony/patch-2David Lordbefore adoptione97f6e2

line 38why, one step back
38 install_requires=[

Merge pull request #3183 from singingwolfboy/pre-commitDavid Baumgoldbefore adoption1dda032

lines 39–42why, one step back
39 "Werkzeug>=0.14",
40 "Jinja2>=2.10.1",41 "itsdangerous>=0.24",42 "click>=5.1",

Merge pull request #2370 from tony/patch-2David Lordbefore adoptione97f6e2

lines 43–44why, one step back
43 ],
44 extras_require={

Merge pull request #3183 from singingwolfboy/pre-commitDavid Baumgoldbefore adoption1dda032

lines 45–52why, one step back
45 "dotenv": ["python-dotenv"],
46 "dev": [47 "pytest>=3",48 "coverage",49 "tox",50 "sphinx",51 "pallets-sphinx-themes",52 "sphinxcontrib-log-cabinet",

Merge pull request #2370 from tony/patch-2David Lordbefore adoptione97f6e2

line 53why, one step back
53 ],

Merge pull request #3183 from singingwolfboy/pre-commitDavid Baumgoldbefore adoption1dda032

line 54why, one step back
54 "docs": ["sphinx", "pallets-sphinx-themes", "sphinxcontrib-log-cabinet"],

Merge pull request #2370 from tony/patch-2David Lordbefore adoptione97f6e2

lines 55–56why, one step back
55 },
56 classifiers=[

Merge pull request #3183 from singingwolfboy/pre-commitDavid Baumgoldbefore adoption1dda032

lines 57–74why, one step back
57 "Development Status :: 5 - Production/Stable",
58 "Environment :: Web Environment",59 "Framework :: Flask",60 "Intended Audience :: Developers",61 "License :: OSI Approved :: BSD License",62 "Operating System :: OS Independent",63 "Programming Language :: Python",64 "Programming Language :: Python :: 2",65 "Programming Language :: Python :: 2.7",66 "Programming Language :: Python :: 3",67 "Programming Language :: Python :: 3.4",68 "Programming Language :: Python :: 3.5",69 "Programming Language :: Python :: 3.6",70 "Programming Language :: Python :: 3.7",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",

Merge pull request #2370 from tony/patch-2David Lordbefore adoptione97f6e2

line 75why, one step back
75 ],

Merge pull request #3183 from singingwolfboy/pre-commitDavid Baumgoldbefore adoption1dda032

line 76why, one step back
76 entry_points={"console_scripts": ["flask = flask.cli:main"]},

Merge pull request #2370 from tony/patch-2David Lordbefore adoptione97f6e2

line 77why, one step back
77)