setup.py (poetry-1.1.15) | : | setup.py (poetry-1.2.0) | ||
---|---|---|---|---|
#!/usr/bin/env python | #!/usr/bin/env python | |||
# -*- coding: utf-8 -*- | from __future__ import annotations | |||
import io | ||||
import re | import re | |||
from collections import OrderedDict | from collections import OrderedDict | |||
from setuptools import setup | from setuptools import setup | |||
with io.open("README.rst", "rt", encoding="utf8") as f: | with open("README.rst", encoding="utf8") as f: | |||
readme = f.read() | readme = f.read() | |||
with io.open("flask/__init__.py", "rt", encoding="utf8") as f: | with open("flask/__init__.py", encoding="utf8") as f: | |||
version = re.search(r"__version__ = \'(.*?)\'", f.read()).group(1) | version = re.search(r"__version__ = \'(.*?)\'", f.read()).group(1) | |||
setup( | setup( | |||
name="Flask", | name="Flask", | |||
version=version, | version=version, | |||
url="https://www.palletsprojects.com/p/flask/", | url="https://www.palletsprojects.com/p/flask/", | |||
project_urls=OrderedDict( | project_urls=OrderedDict( | |||
( | ( | |||
("Documentation", "http://flask.pocoo.org/docs/"), | ("Documentation", "http://flask.pocoo.org/docs/"), | |||
("Code", "https://github.com/pallets/flask"), | ("Code", "https://github.com/pallets/flask"), | |||
End of changes. 4 change blocks. | ||||
4 lines changed or deleted | 5 lines changed or added |