Skip to content
Myr

setup.py

This file

Path

setup.py

79 lines · 1.7 KiB · Python

Last changed by

HEAD is 0.7-devArmin Ronacherbefore adoption16b101e

History of this file

Take 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````````````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 setup424344def 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()495051setup(52    name='Flask',53    version='0.7',54    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__,61    packages=['flask'],62    zip_safe=False,63    platforms='any',64    install_requires=[65        'Werkzeug>=0.6.1',66        'Jinja2>=2.4'67    ],68    classifiers=[69        'Development Status :: 4 - Beta',70        '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'77    ],78    test_suite='__main__.run_tests'79)