setup.py
This file
Path
setup.py
84 lines · 1.9 KiB · Python
Last changed by
Merge pull request #1165 from untitaker/new_testsuiteMarkus Unterwaditzerbefore adoptionbb94a61
History of this fileTake it
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/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, setup474849setup(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__,59 packages=['flask', 'flask.ext'],60 include_package_data=True,61 zip_safe=False,62 platforms='any',63 install_requires=[64 'Werkzeug>=0.7',65 'Jinja2>=2.4',66 'itsdangerous>=0.21',67 'click>=2.0',68 ],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 ],80 entry_points='''81 [console_scripts]82 flask=flask.cli:main83 '''84)