Skip to content

Commit bfc5204

Browse files
committed
fix project metadata to fix install issues
1 parent b278479 commit bfc5204

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[tool.black]
22
line-length = 88
3-
target-version = ["py36"]
3+
target-version = ["py37"]
44

55
[tool.isort]
66
profile = "black"
7-
py_version = "36"
7+
py_version = "37"
88

99
[tool.coverage.run]
1010
parallel = true

setup.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,16 @@
33
with open("README.rst") as readme, open("CHANGES.rst") as changes:
44
setup(
55
name="django-simple-history",
6-
use_scm_version={"version_scheme": "post-release"},
6+
use_scm_version={
7+
"version_scheme": "post-release",
8+
"local_scheme": "node-and-date",
9+
"relative_to": __file__,
10+
"root": ".",
11+
},
712
setup_requires=["setuptools_scm"],
813
description="Store model history and view/revert changes from admin site.",
914
long_description="\n".join((readme.read(), changes.read())),
15+
long_description_content_type="text/x-rst",
1016
author="Corey Bertram",
1117
author_email="[email protected]",
1218
maintainer="Trey Hunner",

0 commit comments

Comments
 (0)