From 0bb8b4f9a1c61fcf473e5ca7a10cc3ed4f30766f Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Fri, 16 Apr 2010 14:24:12 +0200 Subject: [PATCH] Beefed up setup.py --- setup.py | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/setup.py b/setup.py index e5f160ade5..30b0e16f66 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,42 @@ +""" +Flask +----- + +Flask is a microframework for Python based on Werkzeug, Jinja 2 and good +intentions. And before you ask: It's BSD licensed! + +Flask is Fun +```````````` + +:: + + from flask import Flask + app = Flask(__name__) + + @app.route("/") + def hello(): + return "Hello World!" + + if __name__ == "__main__": + app.run() + +And Easy to Setup +````````````````` + +:: + + $ easy_install Flask + $ python hello.py + * Running on http://localhost:5000/ + +Links +````` + +* `website `_ +* `documentation `_ +* `development version `_ + +""" from setuptools import setup @@ -9,11 +48,22 @@ author='Armin Ronacher', author_email='armin.ronacher@active-4.com', description='A microframework based on Werkzeug, Jinja2 and good intentions', + long_description=__doc__, py_modules=['flask'], zip_safe=False, platforms='any', install_requires=[ 'Werkzeug>=0.6.1', 'Jinja2>=2.4' + ], + classifiers=[ + 'Development Status :: 3 - Alpha', + 'Environment :: Web Environment', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: BSD License', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', + 'Topic :: Software Development :: Libraries :: Python Modules' ] )