Skip to content
Myr

setup.py

This file

Path

setup.py

84 lines · 1.9 KiB · Python

Last changed by

Merge pull request #1165 from untitaker/new_testsuiteMarkus Unterwaditzerbefore adoptionbb94a61

History of this file

Take it

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

Added site name to persona loginArmin Ronacherbefore adoption23d8d66

lines 1–10why, 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````````````10

Updated setup.py a bit. This fixes #1018Armin Ronacherbefore adoption2639a23

lines 11–12why, one step back
11Save in a hello.py:
12

Added site name to persona loginArmin Ronacherbefore adoption23d8d66

lines 13–26why, one step back
13.. code:: python
1415 from flask import Flask16 app = Flask(__name__)1718 @app.route("/")19 def hello():20 return "Hello World!"2122 if __name__ == "__main__":23 app.run()2425And Easy to Setup26`````````````````

Updated setup.py a bit. This fixes #1018Armin Ronacherbefore adoption2639a23

lines 27–28why, one step back
27
28And run it:

Added site name to persona loginArmin Ronacherbefore adoption23d8d66

lines 29–47why, one step back
29
30.. code:: bash3132 $ pip install Flask33 $ python hello.py34 * Running on http://localhost:5000/3536Links37`````3839* `website <http://flask.pocoo.org/>`_40* `documentation <http://flask.pocoo.org/docs/>`_41* `development version42 <http://github.com/mitsuhiko/flask/zipball/master#egg=Flask-dev>`_4344"""45from __future__ import print_function46from setuptools import Command, setup47

Depend on click nowArmin Ronacherbefore adoption0ac492a

line 48why, one step back
48

Added site name to persona loginArmin Ronacherbefore adoption23d8d66

lines 49–50why, one step back
49setup(
50 name='Flask',

Master is 0.11-devArmin Ronacherbefore adoption977e766

line 51why, one step back
51 version='0.11-dev',

Added site name to persona loginArmin Ronacherbefore adoption23d8d66

lines 52–58why, one step back
52 url='http://github.com/mitsuhiko/flask/',
53 license='BSD',54 author='Armin Ronacher',55 author_email='armin.ronacher@active-4.com',56 description='A microframework based on Werkzeug, Jinja2 '57 'and good intentions',58 long_description=__doc__,

Merge pull request #1165 from untitaker/new_testsuiteMarkus Unterwaditzerbefore adoptionbb94a61

line 59why, one step back
59 packages=['flask', 'flask.ext'],

Added site name to persona loginArmin Ronacherbefore adoption23d8d66

lines 60–65why, one step back
60 include_package_data=True,
61 zip_safe=False,62 platforms='any',63 install_requires=[64 'Werkzeug>=0.7',65 'Jinja2>=2.4',

Depend on click nowArmin Ronacherbefore adoption0ac492a

line 66why, one step back
66 'itsdangerous>=0.21',

Switch to newer click (2.0)Armin Ronacherbefore adoptionf6d25bb

line 67why, one step back
67 'click>=2.0',

Added site name to persona loginArmin Ronacherbefore adoption23d8d66

lines 68–75why, one step back
68 ],
69 classifiers=[70 'Development Status :: 4 - Beta',71 'Environment :: Web Environment',72 'Intended Audience :: Developers',73 'License :: OSI Approved :: BSD License',74 'Operating System :: OS Independent',75 'Programming Language :: Python',

Merge branch '0.10-maintenance'Armin Ronacherbefore adoption89731d8

line 76why, one step back
76 'Programming Language :: Python :: 3',

Added site name to persona loginArmin Ronacherbefore adoption23d8d66

lines 77–79why, one step back
77 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
78 'Topic :: Software Development :: Libraries :: Python Modules'79 ],

Added the new flask run module to start the server.Armin Ronacherbefore adoption7503bde

lines 80–81why, one step back
80 entry_points='''
81 [console_scripts]

Depend on click nowArmin Ronacherbefore adoption0ac492a

line 82why, one step back
82 flask=flask.cli:main

Merge pull request #1165 from untitaker/new_testsuiteMarkus Unterwaditzerbefore adoptionbb94a61

line 83why, one step back
83 '''

Added site name to persona loginArmin Ronacherbefore adoption23d8d66

line 84why, one step back
84)