Skip to content
Myr

setup.py

This file

Path

setup.py

69 lines · 1.5 KiB · Python

Last changed by

head is 0.2-devArmin Ronacherbefore adoption9fbf9a0

History of this file

Take it

Beefed up setup.pyArmin Ronacherbefore adoption0bb8b4f

lines 1–39why, 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````````````1011::1213 from flask import Flask14 app = Flask(__name__)1516 @app.route("/")17 def hello():18 return "Hello World!"1920 if __name__ == "__main__":21 app.run()2223And Easy to Setup24`````````````````2526::2728 $ easy_install Flask29 $ python hello.py30 * Running on http://localhost:5000/3132Links33`````3435* `website <http://flask.pocoo.org/>`_36* `documentation <http://flask.pocoo.org/docs/>`_37* `development version <http://github.com/mitsuhiko/flask/zipball/master#egg=Flask-dev>`_3839"""

Added setup.py and READMEArmin Ronacherbefore adoptionb15ad39

lines 40–44why, one step back
40from setuptools import setup
414243setup(44 name='Flask',

head is 0.2-devArmin Ronacherbefore adoption9fbf9a0

line 45why, one step back
45 version='0.2',

Added setup.py and READMEArmin Ronacherbefore adoptionb15ad39

lines 46–50why, one step back
46 url='http://github.com/mitsuhiko/flask/',
47 license='BSD',48 author='Armin Ronacher',49 author_email='armin.ronacher@active-4.com',50 description='A microframework based on Werkzeug, Jinja2 and good intentions',

Beefed up setup.pyArmin Ronacherbefore adoption0bb8b4f

line 51why, one step back
51 long_description=__doc__,

Fixed a bug in setup.pyArmin Ronacherbefore adoption574e81f

line 52why, one step back
52 py_modules=['flask'],

Added setup.py and READMEArmin Ronacherbefore adoptionb15ad39

lines 53–54why, one step back
53 zip_safe=False,
54 platforms='any',

Fixed a doc display bug and setup.py workaround for dev version.Armin Ronacherbefore adoption1fff3e5

line 55why, one step back
55 install_requires=[

Flask can depend on Jinja2 and Werkzeug now that they are relased.Armin Ronacherbefore adoption959b5df

lines 56–57why, one step back
56 'Werkzeug>=0.6.1',
57 'Jinja2>=2.4'

Beefed up setup.pyArmin Ronacherbefore adoption0bb8b4f

lines 58–67why, one step back
58 ],
59 classifiers=[60 'Development Status :: 3 - Alpha',61 'Environment :: Web Environment',62 'Intended Audience :: Developers',63 'License :: OSI Approved :: BSD License',64 'Operating System :: OS Independent',65 'Programming Language :: Python',66 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',67 'Topic :: Software Development :: Libraries :: Python Modules'

Added setup.py and READMEArmin Ronacherbefore adoptionb15ad39

lines 68–69why, one step back
68 ]
69)