Skip to content
Myr

setup.py

This file

Path

setup.py

81 lines · 2.5 KiB · Python

Last changed by

fix project urlsDavid Lordbefore adoption3fd7abe

History of this file

Take it

The walk stopped after 200 commits: lines older than 8207b15 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

fix formattingDavid Lordbefore adoption8207b15

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

fix formattingDavid Lordbefore adoption8207b15

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()

fix formattingDavid Lordbefore adoption8207b15

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)

fix formattingDavid Lordbefore adoption8207b15

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/'),

fix project urlsDavid Lordbefore adoption3fd7abe

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 )),

fix formattingDavid Lordbefore adoption8207b15

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,

fix formattingDavid Lordbefore adoption8207b15

lines 31–35why, one step back
31 packages=['flask', 'flask.json'],
32 include_package_data=True,33 zip_safe=False,34 platforms='any',35 install_requires=[

Merge pull request #2622 from pallets/versionsDavid Lordbefore adoptionf9c6f38

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

fix formattingDavid Lordbefore adoption8207b15

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

Merge pull request #2416 from davidism/dotenvDavid Lordbefore adoption851eaa4

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

fix formattingDavid Lordbefore adoption8207b15

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

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

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

fix formattingDavid Lordbefore adoption8207b15

line 50why, one step back
50 ],

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

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

fix formattingDavid Lordbefore adoption8207b15

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

Merge pull request #2622 from pallets/versionsDavid Lordbefore adoptionf9c6f38

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

fix formattingDavid Lordbefore adoption8207b15

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

Merge pull request #2622 from pallets/versionsDavid Lordbefore adoptionf9c6f38

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

fix formattingDavid Lordbefore adoption8207b15

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

Merge pull request #2622 from pallets/versionsDavid Lordbefore adoptionf9c6f38

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

fix formattingDavid Lordbefore adoption8207b15

line 75why, one step back
75 ],

Merge pull request #2622 from pallets/versionsDavid Lordbefore adoptionf9c6f38

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

fix formattingDavid Lordbefore adoption8207b15

line 81why, one step back
81)