Skip to content
Myr

setup.py

This file

Path

setup.py

67 lines · 2.1 KiB · Python

Last changed by

Merge pull request #2624 from pallets/metadataDavid Lordbefore adoption4309c7c

History of this file

Take it

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

Avoid duplication of version infoMarkus Unterwaditzerbefore adoption85b20f8

lines 4–5why, one step back
4import re
5from setuptools import setup

Merge branch 'flask_deployment_docs'Markus Unterwaditzerbefore adoptionf166894

line 6why, one step back
6

Merge pull request #2624 from pallets/metadataDavid Lordbefore adoption4309c7c

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

Avoid duplication of version infoMarkus Unterwaditzerbefore adoption85b20f8

line 9why, one step back
9

Merge pull request #2624 from pallets/metadataDavid Lordbefore adoption4309c7c

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

Avoid duplication of version infoMarkus Unterwaditzerbefore adoption85b20f8

line 12why, one step back
12

Merge branch 'flask_deployment_docs'Markus Unterwaditzerbefore adoptionf166894

lines 13–14why, one step back
13setup(
14 name='Flask',

Avoid duplication of version infoMarkus Unterwaditzerbefore adoption85b20f8

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

Merge pull request #2624 from pallets/metadataDavid Lordbefore adoption4309c7c

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

Merge branch 'flask_deployment_docs'Markus Unterwaditzerbefore adoptionf166894

lines 17–19why, one step back
17 license='BSD',
18 author='Armin Ronacher',19 author_email='armin.ronacher@active-4.com',

Merge pull request #2624 from pallets/metadataDavid Lordbefore adoption4309c7c

lines 20–23why, one step back
20 maintainer='Pallets team',
21 maintainer_email='contact@palletsprojects.com',22 description='A simple framework for building complex web applications.',23 long_description=readme,

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

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

Merge branch 'flask_deployment_docs'Markus Unterwaditzerbefore adoptionf166894

lines 25–28why, one step back
25 include_package_data=True,
26 zip_safe=False,27 platforms='any',28 install_requires=[

Merge pull request #2622 from pallets/versionsDavid Lordbefore adoptionf9c6f38

lines 29–32why, one step back
29 'Werkzeug>=0.14',
30 'Jinja2>=2.10',31 'itsdangerous>=0.24',32 'click>=5.1',

Merge branch 'flask_deployment_docs'Markus Unterwaditzerbefore adoptionf166894

line 33why, one step back
33 ],

Merge pull request #2343 from davidism/testsDavid Lordbefore adoption9038914

line 34why, one step back
34 extras_require={

Merge pull request #2416 from davidism/dotenvDavid Lordbefore adoption851eaa4

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

Merge pull request #2343 from davidism/testsDavid Lordbefore adoption9038914

lines 36–42why, one step back
36 'dev': [
37 'pytest>=3',38 'coverage',39 'tox',40 'sphinx',41 ],42 },

Merge branch 'flask_deployment_docs'Markus Unterwaditzerbefore adoptionf166894

line 43why, one step back
43 classifiers=[

Merge pull request #2622 from pallets/versionsDavid Lordbefore adoptionf9c6f38

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

Merge branch 'flask_deployment_docs'Markus Unterwaditzerbefore adoptionf166894

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

Merge pull request #2622 from pallets/versionsDavid Lordbefore adoptionf9c6f38

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

Merge branch 'flask_deployment_docs'Markus Unterwaditzerbefore adoptionf166894

lines 47–50why, one step back
47 'Intended Audience :: Developers',
48 'License :: OSI Approved :: BSD License',49 'Operating System :: OS Independent',50 'Programming Language :: Python',

resolve merge conflictsKenneth Reitzbefore adoption31174fe

lines 51–52why, one step back
51 'Programming Language :: Python :: 2',
52 'Programming Language :: Python :: 2.7',

Merge branch 'flask_deployment_docs'Markus Unterwaditzerbefore adoptionf166894

line 53why, one step back
53 'Programming Language :: Python :: 3',

resolve merge conflictsKenneth Reitzbefore adoption31174fe

lines 54–55why, one step back
54 'Programming Language :: Python :: 3.4',
55 'Programming Language :: Python :: 3.5',

update changelogDavid Lordbefore adoption399ac3c

line 56why, one step back
56 'Programming Language :: Python :: 3.6',

Merge branch 'flask_deployment_docs'Markus Unterwaditzerbefore adoptionf166894

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

Merge pull request #2622 from pallets/versionsDavid Lordbefore adoptionf9c6f38

lines 58–60why, one step back
58 'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
59 'Topic :: Software Development :: Libraries :: Application Frameworks',60 'Topic :: Software Development :: Libraries :: Python Modules',

Merge branch 'flask_deployment_docs'Markus Unterwaditzerbefore adoptionf166894

line 61why, one step back
61 ],

Merge pull request #2622 from pallets/versionsDavid Lordbefore adoptionf9c6f38

lines 62–66why, one step back
62 entry_points={
63 'console_scripts': [64 'flask = flask.cli:main',65 ],66 },

Merge branch 'flask_deployment_docs'Markus Unterwaditzerbefore adoptionf166894

line 67why, one step back
67)