Skip to content
Myr

setup.py

This file

Path

setup.py

83 lines · 2.6 KiB · Python

Last changed by

Merge pull request #3021 from CasterWxBlog/masterDavid Lordbefore adoptionf2dd7ef

History of this file

Take it

The walk stopped after 200 commits: lines older than 62406e6 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 #2352 from davidism/json-object-hookDavid Lordbefore adoption62406e6

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 #2352 from davidism/json-object-hookDavid Lordbefore adoption62406e6

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

Merge pull request #2624 from pallets/metadataDavid Lordbefore adoption4309c7c

lines 9–10why, one step back
9with io.open('README.rst', 'rt', encoding='utf8') as f:
10 readme = f.read()

Merge pull request #2352 from davidism/json-object-hookDavid Lordbefore adoption62406e6

line 11why, one step back
11

Merge pull request #2624 from pallets/metadataDavid Lordbefore adoption4309c7c

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 #2352 from davidism/json-object-hookDavid Lordbefore adoption62406e6

lines 14–17why, one step back
14
15setup(16 name='Flask',17 version=version,

Merge pull request #2624 from pallets/metadataDavid Lordbefore adoption4309c7c

line 18why, one step back
18 url='https://www.palletsprojects.com/p/flask/',

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

lines 19–20why, one step back
19 project_urls=OrderedDict((
20 ('Documentation', 'http://flask.pocoo.org/docs/'),

release 1.0David Lordbefore adoption9d0b163

lines 21–22why, one step back
21 ('Code', 'https://github.com/pallets/flask'),
22 ('Issue tracker', 'https://github.com/pallets/flask/issues'),

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

line 23why, one step back
23 )),

Merge pull request #2352 from davidism/json-object-hookDavid Lordbefore adoption62406e6

lines 24–26why, one step back
24 license='BSD',
25 author='Armin Ronacher',26 author_email='armin.ronacher@active-4.com',

Merge pull request #2624 from pallets/metadataDavid Lordbefore adoption4309c7c

lines 27–30why, one step back
27 maintainer='Pallets team',
28 maintainer_email='contact@palletsprojects.com',29 description='A simple framework for building complex web applications.',30 long_description=readme,

Merge pull request #2395 from davidism/remove-extDavid Lordbefore adoptionbce8ec7

line 31why, one step back
31 packages=['flask', 'flask.json'],

Merge pull request #2352 from davidism/json-object-hookDavid Lordbefore adoption62406e6

lines 32–34why, one step back
32 include_package_data=True,
33 zip_safe=False,34 platforms='any',

Merge pull request #2721 from wimglenn/wimglenn-patch-1David Lordbefore adoption0f3b9d7

line 35why, one step back
35 python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',

Merge pull request #2352 from davidism/json-object-hookDavid Lordbefore adoption62406e6

line 36why, one step back
36 install_requires=[

Merge pull request #2622 from pallets/versionsDavid Lordbefore adoptionf9c6f38

lines 37–40why, one step back
37 'Werkzeug>=0.14',
38 'Jinja2>=2.10',39 'itsdangerous>=0.24',40 'click>=5.1',

Merge pull request #2352 from davidism/json-object-hookDavid Lordbefore adoption62406e6

lines 41–42why, one step back
41 ],
42 extras_require={

Merge pull request #2416 from davidism/dotenvDavid Lordbefore adoption851eaa4

line 43why, one step back
43 'dotenv': ['python-dotenv'],

Merge pull request #2352 from davidism/json-object-hookDavid Lordbefore adoption62406e6

lines 44–48why, one step back
44 'dev': [
45 'pytest>=3',46 'coverage',47 'tox',48 'sphinx',

Merge pull request #2709 from davidism/docs-themeDavid Lordbefore adoption5fba092

lines 49–50why, one step back
49 'pallets-sphinx-themes',
50 'sphinxcontrib-log-cabinet',

Merge pull request #2352 from davidism/json-object-hookDavid Lordbefore adoption62406e6

line 51why, one step back
51 ],

Merge pull request #2709 from davidism/docs-themeDavid Lordbefore adoption5fba092

lines 52–56why, one step back
52 'docs': [
53 'sphinx',54 'pallets-sphinx-themes',55 'sphinxcontrib-log-cabinet',56 ]

Merge pull request #2352 from davidism/json-object-hookDavid Lordbefore adoption62406e6

lines 57–58why, one step back
57 },
58 classifiers=[

Merge pull request #2622 from pallets/versionsDavid Lordbefore adoptionf9c6f38

line 59why, one step back
59 'Development Status :: 5 - Production/Stable',

Merge pull request #2352 from davidism/json-object-hookDavid Lordbefore adoption62406e6

line 60why, one step back
60 'Environment :: Web Environment',

Merge pull request #2622 from pallets/versionsDavid Lordbefore adoptionf9c6f38

line 61why, one step back
61 'Framework :: Flask',

Merge pull request #2352 from davidism/json-object-hookDavid Lordbefore adoption62406e6

lines 62–71why, one step back
62 'Intended Audience :: Developers',
63 'License :: OSI Approved :: BSD License',64 'Operating System :: OS Independent',65 'Programming Language :: Python',66 'Programming Language :: Python :: 2',67 'Programming Language :: Python :: 2.7',68 'Programming Language :: Python :: 3',69 'Programming Language :: Python :: 3.4',70 'Programming Language :: Python :: 3.5',71 'Programming Language :: Python :: 3.6',

Merge pull request #3021 from CasterWxBlog/masterDavid Lordbefore adoptionf2dd7ef

line 72why, one step back
72 'Programming Language :: Python :: 3.7',

Merge pull request #2352 from davidism/json-object-hookDavid Lordbefore adoption62406e6

line 73why, one step back
73 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',

Merge pull request #2622 from pallets/versionsDavid Lordbefore adoptionf9c6f38

lines 74–76why, one step back
74 'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
75 'Topic :: Software Development :: Libraries :: Application Frameworks',76 'Topic :: Software Development :: Libraries :: Python Modules',

Merge pull request #2352 from davidism/json-object-hookDavid Lordbefore adoption62406e6

line 77why, one step back
77 ],

Merge pull request #2622 from pallets/versionsDavid Lordbefore adoptionf9c6f38

lines 78–82why, one step back
78 entry_points={
79 'console_scripts': [80 'flask = flask.cli:main',81 ],82 },

Merge pull request #2352 from davidism/json-object-hookDavid Lordbefore adoption62406e6

line 83why, one step back
83)