Skip to content
Myr

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 file

Take it

The walk stopped after 200 commits: lines older than af3b73f point at it.

Tiny refactoringArmin Ronacherbefore adoptionaf3b73f

lines 1–43why, 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/>`_37* `development version38 <http://github.com/mitsuhiko/flask/zipball/master#egg=Flask-dev>`_3940"""41from setuptools import setup4243

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

Tiny refactoringArmin Ronacherbefore adoptionaf3b73f

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

HEAD is 0.5-devArmin Ronacherbefore adoption528ae04

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

Tiny refactoringArmin Ronacherbefore adoptionaf3b73f

lines 54–60why, 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',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 back
61 packages=['flask'],

Tiny refactoringArmin Ronacherbefore adoptionaf3b73f

lines 62–68why, one step back
62 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 back
69 'Development Status :: 4 - Beta',

Tiny refactoringArmin Ronacherbefore adoptionaf3b73f

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'

Tiny refactoringArmin Ronacherbefore adoptionaf3b73f

line 79why, one step back
79)