flask/setup.py

85 lines
1.9 KiB
Python
Raw Normal View History

2010-04-16 14:24:12 +02:00
"""
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
````````````
Save in a hello.py:
.. code:: python
2010-04-16 14:24:12 +02:00
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
return "Hello World!"
if __name__ == "__main__":
app.run()
And Easy to Setup
`````````````````
And run it:
.. code:: bash
2010-04-16 14:24:12 +02:00
2012-02-06 20:19:32 -05:00
$ pip install Flask
2010-04-16 14:24:12 +02:00
$ python hello.py
* Running on http://localhost:5000/
Links
`````
* `website <http://flask.pocoo.org/>`_
* `documentation <http://flask.pocoo.org/docs/>`_
2010-04-20 18:40:58 +02:00
* `development version
<http://github.com/mitsuhiko/flask/zipball/master#egg=Flask-dev>`_
2010-04-16 14:24:12 +02:00
"""
2013-05-18 19:00:06 +02:00
from __future__ import print_function
from setuptools import Command, setup
2014-04-28 13:26:14 +02:00
2010-04-06 13:23:18 +02:00
setup(
name='Flask',
2015-02-06 17:02:34 +01:00
version='0.11.dev0',
2010-04-06 13:23:18 +02:00
url='http://github.com/mitsuhiko/flask/',
license='BSD',
author='Armin Ronacher',
author_email='armin.ronacher@active-4.com',
2010-04-20 18:40:58 +02:00
description='A microframework based on Werkzeug, Jinja2 '
'and good intentions',
2010-04-16 14:24:12 +02:00
long_description=__doc__,
2014-08-31 23:59:43 +02:00
packages=['flask', 'flask.ext'],
2011-09-22 14:08:03 +02:00
include_package_data=True,
2010-04-06 13:23:18 +02:00
zip_safe=False,
platforms='any',
install_requires=[
2012-04-23 21:46:53 -04:00
'Werkzeug>=0.7',
2012-08-11 03:09:14 +01:00
'Jinja2>=2.4',
2014-04-28 13:26:14 +02:00
'itsdangerous>=0.21',
2014-08-12 23:23:48 +02:00
'click>=2.0',
2010-04-16 14:24:12 +02:00
],
classifiers=[
2010-05-12 01:29:25 +02:00
'Development Status :: 4 - Beta',
2010-04-16 14:24:12 +02:00
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
2010-04-16 14:24:12 +02:00
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
2010-05-31 17:53:10 +02:00
],
entry_points='''
[console_scripts]
2014-04-28 13:26:14 +02:00
flask=flask.cli:main
2014-09-04 16:22:57 +02:00
'''
2010-04-06 13:23:18 +02:00
)