setup.py
This file
Path
setup.py
67 lines · 2.1 KiB · Python
Last changed by
revert copyright year to project startDavid Lordbefore adoption310fbfc
History of this fileTake it
The walk stopped after 200 commits: lines older than f166894 point at it.
update project metadataDavid Lordbefore adoption9bf5c3b
line 1why, one step back1#!/usr/bin/env pythonrevert copyright year to project startDavid Lordbefore adoption310fbfc
line 2why, one step back2# -*- coding: utf-8 -*-update project metadataDavid Lordbefore adoption9bf5c3b
line 3why, one step back3import ioAvoid duplication of version infoMarkus Unterwaditzerbefore adoption85b20f8
lines 4–5why, one step back4import re5from setuptools import setupMerge branch 'flask_deployment_docs'Markus Unterwaditzerbefore adoptionf166894
line 6why, one step back6update project metadataDavid Lordbefore adoption9bf5c3b
lines 7–8why, one step back7with io.open('README.rst', 'rt', encoding='utf8') as f:8 readme = f.read()Avoid duplication of version infoMarkus Unterwaditzerbefore adoption85b20f8
line 9why, one step back9update project metadataDavid Lordbefore adoption9bf5c3b
lines 10–11why, one step back10with 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 back12Merge branch 'flask_deployment_docs'Markus Unterwaditzerbefore adoptionf166894
lines 13–14why, one step back13setup(14 name='Flask',Avoid duplication of version infoMarkus Unterwaditzerbefore adoption85b20f8
line 15why, one step back15 version=version,update project metadataDavid Lordbefore adoption9bf5c3b
line 16why, one step back16 url='https://www.palletsprojects.com/p/flask/',Merge branch 'flask_deployment_docs'Markus Unterwaditzerbefore adoptionf166894
lines 17–19why, one step back17 license='BSD',18 author='Armin Ronacher',19 author_email='armin.ronacher@active-4.com',revert copyright year to project startDavid Lordbefore adoption310fbfc
lines 20–21why, one step back20 maintainer='Pallets team',21 maintainer_email='contact@palletsprojects.com',update project metadataDavid Lordbefore adoption9bf5c3b
lines 22–23why, one step back22 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 back24 packages=['flask', 'flask.json'],Merge branch 'flask_deployment_docs'Markus Unterwaditzerbefore adoptionf166894
lines 25–28why, one step back25 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 back29 '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 back33 ],Merge pull request #2343 from davidism/testsDavid Lordbefore adoption9038914
line 34why, one step back34 extras_require={Merge pull request #2416 from davidism/dotenvDavid Lordbefore adoption851eaa4
line 35why, one step back35 'dotenv': ['python-dotenv'],Merge pull request #2343 from davidism/testsDavid Lordbefore adoption9038914
lines 36–42why, one step back36 'dev': [37 'pytest>=3',38 'coverage',39 'tox',40 'sphinx',41 ],42 },Merge branch 'flask_deployment_docs'Markus Unterwaditzerbefore adoptionf166894
line 43why, one step back43 classifiers=[Merge pull request #2622 from pallets/versionsDavid Lordbefore adoptionf9c6f38
line 44why, one step back44 'Development Status :: 5 - Production/Stable',Merge branch 'flask_deployment_docs'Markus Unterwaditzerbefore adoptionf166894
line 45why, one step back45 'Environment :: Web Environment',Merge pull request #2622 from pallets/versionsDavid Lordbefore adoptionf9c6f38
line 46why, one step back46 'Framework :: Flask',Merge branch 'flask_deployment_docs'Markus Unterwaditzerbefore adoptionf166894
lines 47–50why, one step back47 '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 back51 'Programming Language :: Python :: 2',52 'Programming Language :: Python :: 2.7',Merge branch 'flask_deployment_docs'Markus Unterwaditzerbefore adoptionf166894
line 53why, one step back53 'Programming Language :: Python :: 3',resolve merge conflictsKenneth Reitzbefore adoption31174fe
lines 54–55why, one step back54 'Programming Language :: Python :: 3.4',55 'Programming Language :: Python :: 3.5',update changelogDavid Lordbefore adoption399ac3c
line 56why, one step back56 'Programming Language :: Python :: 3.6',Merge branch 'flask_deployment_docs'Markus Unterwaditzerbefore adoptionf166894
line 57why, one step back57 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',Merge pull request #2622 from pallets/versionsDavid Lordbefore adoptionf9c6f38
lines 58–60why, one step back58 '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 back61 ],Merge pull request #2622 from pallets/versionsDavid Lordbefore adoptionf9c6f38
lines 62–66why, one step back62 entry_points={63 'console_scripts': [64 'flask = flask.cli:main',65 ],66 },Merge branch 'flask_deployment_docs'Markus Unterwaditzerbefore adoptionf166894
line 67why, one step back67)