setup.py
This file
Path
setup.py
79 lines · 1.7 KiB · Python
Last changed by
Added missing comments, fixed setup.py and made tests passArmin Ronacherbefore adoption4f8ee8f
History of this fileTake it
The walk stopped after 200 commits: lines older than 3eacc1d point at it.
Use a tuple to store _flashes, and simplify the flask.Request class.florentxbefore adoption3eacc1d
lines 1–43why, 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````````````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 version38 <http://github.com/mitsuhiko/flask/zipball/master#egg=Flask-dev>`_3940"""41from setuptools import setup4243use setup.py test. This fixes #56Armin Ronacherbefore adoption707b307
lines 44–50why, one step back44def run_tests():45 import os, sys46 sys.path.append(os.path.join(os.path.dirname(__file__), 'tests'))47 from flask_tests import suite48 return suite()4950Use a tuple to store _flashes, and simplify the flask.Request class.florentxbefore adoption3eacc1d
lines 51–52why, one step back51setup(52 name='Flask',HEAD is 0.5-devArmin Ronacherbefore adoption528ae04
line 53why, one step back53 version='0.5',Use a tuple to store _flashes, and simplify the flask.Request class.florentxbefore adoption3eacc1d
lines 54–60why, one step back54 url='http://github.com/mitsuhiko/flask/',55 license='BSD',56 author='Armin Ronacher',57 author_email='armin.ronacher@active-4.com',58 description='A microframework based on Werkzeug, Jinja2 '59 'and good intentions',60 long_description=__doc__,Added missing comments, fixed setup.py and made tests passArmin Ronacherbefore adoption4f8ee8f
line 61why, one step back61 packages=['flask'],Use a tuple to store _flashes, and simplify the flask.Request class.florentxbefore adoption3eacc1d
lines 62–68why, one step back62 zip_safe=False,63 platforms='any',64 install_requires=[65 'Werkzeug>=0.6.1',66 'Jinja2>=2.4'67 ],68 classifiers=[Added logo with new sloganArmin Ronacherbefore adoptionb0ab127
line 69why, one step back69 'Development Status :: 4 - Beta',Use a tuple to store _flashes, and simplify the flask.Request class.florentxbefore adoption3eacc1d
lines 70–76why, one step back70 'Environment :: Web Environment',71 'Intended Audience :: Developers',72 'License :: OSI Approved :: BSD License',73 'Operating System :: OS Independent',74 'Programming Language :: Python',75 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',76 'Topic :: Software Development :: Libraries :: Python Modules'use setup.py test. This fixes #56Armin Ronacherbefore adoption707b307
lines 77–78why, one step back77 ],78 test_suite='__main__.run_tests'Use a tuple to store _flashes, and simplify the flask.Request class.florentxbefore adoption3eacc1d
line 79why, one step back79)