setup.py
This file
Path
setup.py
14 lines · 388 bytes · Python
Last changed by
Merge pull request #1310 from pallets/pre-commit-ci-update-configDavid Lordbefore adoption1cad38c
History of this fileTake it
The walk stopped after 200 commits: lines older than a1c5bca point at it.
Merge branch '2.10.x'David Lordbefore adoption38165df
line 1why, one step back1import reMerge pull request #851 from ngr/tests_for_rawDavid Lordbefore adoptiona1c5bca
lines 2–4why, one step back23from setuptools import setup4Merge pull request #1310 from pallets/pre-commit-ci-update-configDavid Lordbefore adoption1cad38c
line 5why, one step back5with open("src/jinja2/__init__.py", encoding="utf8") as f:Merge branch '2.10.x'David Lordbefore adoption38165df
lines 6–7why, one step back6 version = re.search(r'__version__ = "(.*?)"', f.read(), re.M).group(1)7move metadata to setup.cfgDavid Lordbefore adoptioncd41cac
line 8why, one step back8# Metadata goes in setup.cfg. These are here for GitHub's dependency graph.Merge pull request #851 from ngr/tests_for_rawDavid Lordbefore adoptiona1c5bca
line 9why, one step back9setup(Merge pull request #1133 from pallets/revert-renameDavid Lordbefore adoption15337f7
line 10why, one step back10 name="Jinja2",Merge branch '2.10.x'David Lordbefore adoption38165df
line 11why, one step back11 version=version,start version 3.0.0David Lordbefore adoption4b8d839
lines 12–13why, one step back12 install_requires=["MarkupSafe>=1.1"],13 extras_require={"i18n": ["Babel>=2.1"]},Merge pull request #851 from ngr/tests_for_rawDavid Lordbefore adoptiona1c5bca
line 14why, one step back14)