Skip to content
Myr

setup.py

This file

Path

setup.py

71 lines · 1.6 KiB · Python

Last changed by

Fix typos and remove unused import.florentxbefore adoption3c821a0

History of this file

Take it

Beefed up setup.pyArmin Ronacherbefore adoption0bb8b4f

lines 1–36why, 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/>`_

Fix typos and remove unused import.florentxbefore adoption3c821a0

lines 37–38why, one step back
37* `development version
38 <http://github.com/mitsuhiko/flask/zipball/master#egg=Flask-dev>`_

Beefed up setup.pyArmin Ronacherbefore adoption0bb8b4f

lines 39–40why, one step back
39
40"""

Added setup.py and READMEArmin Ronacherbefore adoptionb15ad39

lines 41–45why, one step back
41from setuptools import setup
424344setup(45 name='Flask',

head is 0.2-devArmin Ronacherbefore adoption9fbf9a0

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

Added setup.py and READMEArmin Ronacherbefore adoptionb15ad39

lines 47–50why, one step back
47 url='http://github.com/mitsuhiko/flask/',
48 license='BSD',49 author='Armin Ronacher',50 author_email='armin.ronacher@active-4.com',

Fix typos and remove unused import.florentxbefore adoption3c821a0

lines 51–52why, one step back
51 description='A microframework based on Werkzeug, Jinja2 '
52 'and good intentions',

Beefed up setup.pyArmin Ronacherbefore adoption0bb8b4f

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

Fixed a bug in setup.pyArmin Ronacherbefore adoption574e81f

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

Added setup.py and READMEArmin Ronacherbefore adoptionb15ad39

lines 55–56why, one step back
55 zip_safe=False,
56 platforms='any',

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

line 57why, one step back
57 install_requires=[

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

lines 58–59why, one step back
58 'Werkzeug>=0.6.1',
59 'Jinja2>=2.4'

Beefed up setup.pyArmin Ronacherbefore adoption0bb8b4f

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

Added setup.py and READMEArmin Ronacherbefore adoptionb15ad39

lines 70–71why, one step back
70 ]
71)