Skip to content
Myr

setup.py

This file

Path

examples/tutorial/setup.py

23 lines · 619 bytes · Python

Last changed by

apply reorder-python-imports pre-commit configDavid Lordbefore adoption4348368

History of this file

Take it

Merge pull request #2676 from davidism/tutorialDavid Lordbefore adoptionc3e2ff2

lines 1–2why, one step back
1import io
2

apply reorder-python-imports pre-commit configDavid Lordbefore adoption4348368

lines 3–4why, one step back
3from setuptools import find_packages
4from setuptools import setup

Merge pull request #2676 from davidism/tutorialDavid Lordbefore adoptionc3e2ff2

line 5why, one step back
5

Merge pull request #3183 from singingwolfboy/pre-commitDavid Baumgoldbefore adoption1dda032

line 6why, one step back
6with io.open("README.rst", "rt", encoding="utf8") as f:

Merge pull request #2676 from davidism/tutorialDavid Lordbefore adoptionc3e2ff2

lines 7–9why, one step back
7 readme = f.read()
89setup(

Merge pull request #3183 from singingwolfboy/pre-commitDavid Baumgoldbefore adoption1dda032

lines 10–16why, one step back
10 name="flaskr",
11 version="1.0.0",12 url="http://flask.pocoo.org/docs/tutorial/",13 license="BSD",14 maintainer="Pallets team",15 maintainer_email="contact@palletsprojects.com",16 description="The basic blog app built in the Flask tutorial.",

Merge pull request #2676 from davidism/tutorialDavid Lordbefore adoptionc3e2ff2

lines 17–20why, one step back
17 long_description=readme,
18 packages=find_packages(),19 include_package_data=True,20 zip_safe=False,

Merge pull request #3183 from singingwolfboy/pre-commitDavid Baumgoldbefore adoption1dda032

lines 21–22why, one step back
21 install_requires=["flask"],
22 extras_require={"test": ["pytest", "coverage"]},

Merge pull request #2676 from davidism/tutorialDavid Lordbefore adoptionc3e2ff2

line 23why, one step back
23)