setup.py
This file
Path
setup.py
81 lines · 2.5 KiB · Python
Last changed by
fix project urlsDavid Lordbefore adoption3fd7abe
History of this fileTake it
The walk stopped after 200 commits: lines older than d2a46dc point at it.
Merge pull request #2624 from pallets/metadataDavid Lordbefore adoption4309c7c
lines 1–3why, one step back1#!/usr/bin/env python2# -*- coding: utf-8 -*-3import iofix doc build errorDavid Lordbefore adoptiond2a46dc
line 4why, one step back4import reMerge pull request #2720 from pallets/setup-linkDavid Lordbefore adoption062745b
lines 5–6why, one step back5from collections import OrderedDict6fix doc build errorDavid Lordbefore adoptiond2a46dc
lines 7–8why, one step back7from setuptools import setup8Merge pull request #2624 from pallets/metadataDavid Lordbefore adoption4309c7c
lines 9–10why, one step back9with io.open('README.rst', 'rt', encoding='utf8') as f:10 readme = f.read()fix doc build errorDavid Lordbefore adoptiond2a46dc
line 11why, one step back11Merge pull request #2624 from pallets/metadataDavid Lordbefore adoption4309c7c
lines 12–13why, one step back12with io.open('flask/__init__.py', 'rt', encoding='utf8') as f:13 version = re.search(r'__version__ = \'(.*?)\'', f.read()).group(1)fix doc build errorDavid Lordbefore adoptiond2a46dc
lines 14–17why, one step back1415setup(16 name='Flask',17 version=version,Merge pull request #2624 from pallets/metadataDavid Lordbefore adoption4309c7c
line 18why, one step back18 url='https://www.palletsprojects.com/p/flask/',Merge pull request #2720 from pallets/setup-linkDavid Lordbefore adoption062745b
lines 19–20why, one step back19 project_urls=OrderedDict((20 ('Documentation', 'http://flask.pocoo.org/docs/'),fix project urlsDavid Lordbefore adoption3fd7abe
lines 21–22why, one step back21 ('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 back23 )),fix doc build errorDavid Lordbefore adoptiond2a46dc
lines 24–26why, one step back24 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 back27 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 back31 packages=['flask', 'flask.json'],fix doc build errorDavid Lordbefore adoptiond2a46dc
lines 32–35why, one step back32 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 back36 'Werkzeug>=0.14',37 'Jinja2>=2.10',38 'itsdangerous>=0.24',39 'click>=5.1',fix doc build errorDavid Lordbefore adoptiond2a46dc
line 40why, one step back40 ],Merge pull request #2343 from davidism/testsDavid Lordbefore adoption9038914
line 41why, one step back41 extras_require={Merge pull request #2416 from davidism/dotenvDavid Lordbefore adoption851eaa4
line 42why, one step back42 'dotenv': ['python-dotenv'],Merge pull request #2343 from davidism/testsDavid Lordbefore adoption9038914
lines 43–47why, one step back43 '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 back48 'pallets-sphinx-themes',49 'sphinxcontrib-log-cabinet',Merge pull request #2343 from davidism/testsDavid Lordbefore adoption9038914
line 50why, one step back50 ],Merge pull request #2709 from davidism/docs-themeDavid Lordbefore adoption5fba092
lines 51–55why, one step back51 'docs': [52 'sphinx',53 'pallets-sphinx-themes',54 'sphinxcontrib-log-cabinet',55 ]Merge pull request #2343 from davidism/testsDavid Lordbefore adoption9038914
line 56why, one step back56 },fix doc build errorDavid Lordbefore adoptiond2a46dc
line 57why, one step back57 classifiers=[Merge pull request #2622 from pallets/versionsDavid Lordbefore adoptionf9c6f38
line 58why, one step back58 'Development Status :: 5 - Production/Stable',fix doc build errorDavid Lordbefore adoptiond2a46dc
line 59why, one step back59 'Environment :: Web Environment',Merge pull request #2622 from pallets/versionsDavid Lordbefore adoptionf9c6f38
line 60why, one step back60 'Framework :: Flask',fix doc build errorDavid Lordbefore adoptiond2a46dc
lines 61–69why, one step back61 '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',update changelogDavid Lordbefore adoption399ac3c
line 70why, one step back70 'Programming Language :: Python :: 3.6',fix doc build errorDavid Lordbefore adoptiond2a46dc
line 71why, one step back71 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',Merge pull request #2622 from pallets/versionsDavid Lordbefore adoptionf9c6f38
lines 72–74why, one step back72 'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',73 'Topic :: Software Development :: Libraries :: Application Frameworks',74 'Topic :: Software Development :: Libraries :: Python Modules',fix doc build errorDavid Lordbefore adoptiond2a46dc
line 75why, one step back75 ],Merge pull request #2622 from pallets/versionsDavid Lordbefore adoptionf9c6f38
lines 76–80why, one step back76 entry_points={77 'console_scripts': [78 'flask = flask.cli:main',79 ],80 },fix doc build errorDavid Lordbefore adoptiond2a46dc
line 81why, one step back81)