setup.py
This file
Path
setup.py
84 lines · 1.9 KiB · Python
Last changed by
remove audit commandMarkus Unterwaditzerbefore adoption4fca38c
History of this fileTake it
The walk stopped after 200 commits: lines older than e59e005 point at it.
Fixed a documentation typoArmin Ronacherbefore adoptione59e005
lines 1–10why, one step back1"""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````````````10Updated setup.py a bit. This fixes #1018Armin Ronacherbefore adoption2639a23
lines 11–12why, one step back11Save in a hello.py:12Fixed a documentation typoArmin Ronacherbefore adoptione59e005
lines 13–26why, one step back13.. 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`````````````````Updated setup.py a bit. This fixes #1018Armin Ronacherbefore adoption2639a23
lines 27–28why, one step back2728And run it:Fixed a documentation typoArmin Ronacherbefore adoptione59e005
lines 29–47why, one step back2930.. code:: bash3132 $ pip install Flask33 $ python hello.py34 * Running on http://localhost:5000/3536Links37`````3839* `website <http://flask.pocoo.org/>`_40* `documentation <http://flask.pocoo.org/docs/>`_41* `development version42 <http://github.com/mitsuhiko/flask/zipball/master#egg=Flask-dev>`_4344"""45from __future__ import print_function46from setuptools import Command, setup47Depend on click nowArmin Ronacherbefore adoption0ac492a
line 48why, one step back48Fixed a documentation typoArmin Ronacherbefore adoptione59e005
lines 49–58why, one step back49setup(50 name='Flask',51 version='0.11-dev',52 url='http://github.com/mitsuhiko/flask/',53 license='BSD',54 author='Armin Ronacher',55 author_email='armin.ronacher@active-4.com',56 description='A microframework based on Werkzeug, Jinja2 '57 'and good intentions',58 long_description=__doc__,Remove testsuite package from setup.pyMarkus Unterwaditzerbefore adoptionb93ab41
line 59why, one step back59 packages=['flask', 'flask.ext'],Fixed a documentation typoArmin Ronacherbefore adoptione59e005
lines 60–65why, one step back60 include_package_data=True,61 zip_safe=False,62 platforms='any',63 install_requires=[64 'Werkzeug>=0.7',65 'Jinja2>=2.4',Depend on click nowArmin Ronacherbefore adoption0ac492a
line 66why, one step back66 'itsdangerous>=0.21',Switch to newer click (2.0)Armin Ronacherbefore adoptionf6d25bb
line 67why, one step back67 'click>=2.0',Fixed a documentation typoArmin Ronacherbefore adoptione59e005
lines 68–79why, one step back68 ],69 classifiers=[70 'Development Status :: 4 - Beta',71 'Environment :: Web Environment',72 'Intended Audience :: Developers',73 'License :: OSI Approved :: BSD License',74 'Operating System :: OS Independent',75 'Programming Language :: Python',76 'Programming Language :: Python :: 3',77 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',78 'Topic :: Software Development :: Libraries :: Python Modules'79 ],Added the new flask run module to start the server.Armin Ronacherbefore adoption7503bde
lines 80–81why, one step back80 entry_points='''81 [console_scripts]Depend on click nowArmin Ronacherbefore adoption0ac492a
line 82why, one step back82 flask=flask.cli:mainremove audit commandMarkus Unterwaditzerbefore adoption4fca38c
line 83why, one step back83 '''Fixed a documentation typoArmin Ronacherbefore adoptione59e005
line 84why, one step back84)