Skip to content
Myr

setup.py

This file

Path

setup.py

79 lines · 1.7 KiB · Python

Last changed by

use setup.py test. This fixes #56Armin Ronacherbefore adoption707b307

History of this file

Take it

The walk stopped after 200 commits: lines older than 08f1f0d point at 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 more Flask testsArmin Ronacherbefore adoption08f1f0d

lines 41–43why, one step back
41from setuptools import setup
4243

use setup.py test. This fixes #56Armin Ronacherbefore adoption707b307

lines 44–50why, one step back
44def 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()4950

Added more Flask testsArmin Ronacherbefore adoption08f1f0d

lines 51–52why, one step back
51setup(
52 name='Flask',

update setup.pyArmin Ronacherbefore adoption4ca1d0a

line 53why, one step back
53 version='0.4',

Added more Flask testsArmin Ronacherbefore adoption08f1f0d

lines 54–57why, one step back
54 url='http://github.com/mitsuhiko/flask/',
55 license='BSD',56 author='Armin Ronacher',57 author_email='armin.ronacher@active-4.com',

Fix typos and remove unused import.florentxbefore adoption3c821a0

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

Beefed up setup.pyArmin Ronacherbefore adoption0bb8b4f

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

Added more Flask testsArmin Ronacherbefore adoption08f1f0d

lines 61–66why, one step back
61 py_modules=['flask'],
62 zip_safe=False,63 platforms='any',64 install_requires=[65 'Werkzeug>=0.6.1',66 'Jinja2>=2.4'

Beefed up setup.pyArmin Ronacherbefore adoption0bb8b4f

lines 67–68why, one step back
67 ],
68 classifiers=[

Added logo with new sloganArmin Ronacherbefore adoptionb0ab127

line 69why, one step back
69 'Development Status :: 4 - Beta',

Beefed up setup.pyArmin Ronacherbefore adoption0bb8b4f

lines 70–76why, one step back
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'

use setup.py test. This fixes #56Armin Ronacherbefore adoption707b307

lines 77–78why, one step back
77 ],
78 test_suite='__main__.run_tests'

Added more Flask testsArmin Ronacherbefore adoption08f1f0d

line 79why, one step back
79)