Skip to content
Myr

setup.py

This file

Path

setup.py

110 lines · 2.7 KiB · Python

Last changed by

Merge branch 'master' into json-object-hookDavid Lordbefore adoptionea2e960

History of this file

Take it

The walk stopped after 200 commits: lines older than 3d78573 point at it.

Merge pull request #1759 from gunbei/update-get-pip.py-locationMarkus Unterwaditzerbefore adoption3d78573

lines 1–35why, one step back
1"""
2Flask3-----45Flask is a microframework for Python based on Werkzeug, Jinja 2 and good6intentions. And before you ask: It's BSD licensed!78Flask is Fun9````````````1011Save in a hello.py:1213.. code:: python1415 from flask import Flask16 app = Flask(__name__)1718 @app.route("/")19 def hello():20 return "Hello World!"2122 if __name__ == "__main__":23 app.run()2425And Easy to Setup26`````````````````2728And run it:2930.. code:: bash3132 $ pip install Flask33 $ python hello.py34 * Running on http://localhost:5000/35

Merge pull request #1858 from etothemanders/masterMarkus Unterwaditzerbefore adoption4102be4

lines 36–37why, one step back
36 Ready for production? `Read this first <http://flask.pocoo.org/docs/deploying/>`.
37

Merge pull request #1759 from gunbei/update-get-pip.py-locationMarkus Unterwaditzerbefore adoption3d78573

lines 38–43why, one step back
38Links
39`````4041* `website <http://flask.pocoo.org/>`_42* `documentation <http://flask.pocoo.org/docs/>`_43* `development version

Migrate various docs links to https (#2180)Jeff Widmanbefore adoptionbb0e755

line 44why, one step back
44 <https://github.com/pallets/flask/zipball/master#egg=Flask-dev>`_

Merge pull request #1759 from gunbei/update-get-pip.py-locationMarkus Unterwaditzerbefore adoption3d78573

lines 45–59why, one step back
45
46"""47import re48import ast49from setuptools import setup5051_version_re = re.compile(r'__version__\s+=\s+(.*)')5253with open('flask/__init__.py', 'rb') as f:54 version = str(ast.literal_eval(_version_re.search(55 f.read().decode('utf-8')).group(1)))5657setup(58 name='Flask',59 version=version,

Migrate various docs links to https (#2180)Jeff Widmanbefore adoptionbb0e755

line 60why, one step back
60 url='https://github.com/pallets/flask/',

Merge pull request #1759 from gunbei/update-get-pip.py-locationMarkus Unterwaditzerbefore adoption3d78573

lines 61–71why, one step back
61 license='BSD',
62 author='Armin Ronacher',63 author_email='armin.ronacher@active-4.com',64 description='A microframework based on Werkzeug, Jinja2 '65 'and good intentions',66 long_description=__doc__,67 packages=['flask', 'flask.ext'],68 include_package_data=True,69 zip_safe=False,70 platforms='any',71 install_requires=[

Merge branch 'master' into masterKenneth Reitzbefore adoptiond911c89

line 72why, one step back
72 'Werkzeug>=0.9',

Merge pull request #1759 from gunbei/update-get-pip.py-locationMarkus Unterwaditzerbefore adoption3d78573

lines 73–74why, one step back
73 'Jinja2>=2.4',
74 'itsdangerous>=0.21',

Merge branch 'master' into masterKenneth Reitzbefore adoptiond911c89

line 75why, one step back
75 'click>=4.0',

Merge pull request #1759 from gunbei/update-get-pip.py-locationMarkus Unterwaditzerbefore adoption3d78573

line 76why, one step back
76 ],

Merge branch 'master' into json-object-hookDavid Lordbefore adoptionea2e960

lines 77–87why, one step back
77 extras_require={
78 'dev': [79 'blinker',80 'greenlet',81 'pytest>=3',82 'coverage',83 'tox',84 'sphinx',85 'sphinxcontrib-log-cabinet'86 ],87 },

Merge pull request #1759 from gunbei/update-get-pip.py-locationMarkus Unterwaditzerbefore adoption3d78573

lines 88–101why, one step back
88 classifiers=[
89 'Development Status :: 4 - Beta',90 'Environment :: Web Environment',91 'Intended Audience :: Developers',92 'License :: OSI Approved :: BSD License',93 'Operating System :: OS Independent',94 'Programming Language :: Python',95 'Programming Language :: Python :: 2',96 'Programming Language :: Python :: 2.6',97 'Programming Language :: Python :: 2.7',98 'Programming Language :: Python :: 3',99 'Programming Language :: Python :: 3.3',100 'Programming Language :: Python :: 3.4',101 'Programming Language :: Python :: 3.5',

Merge branch 'master' into json-object-hookDavid Lordbefore adoptionea2e960

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

Merge pull request #1759 from gunbei/update-get-pip.py-locationMarkus Unterwaditzerbefore adoption3d78573

lines 103–110why, one step back
103 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
104 'Topic :: Software Development :: Libraries :: Python Modules'105 ],106 entry_points='''107 [console_scripts]108 flask=flask.cli:main109 '''110)