-
-
Notifications
You must be signed in to change notification settings - Fork 483
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1348 from ofek/modernize-metadata
Update package metadata
- Loading branch information
Showing
11 changed files
with
140 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,85 @@ | ||
[build-system] | ||
build-backend = "hatchling.build" | ||
requires = [ | ||
"hatch-fancy-pypi-readme", | ||
"hatch-vcs", | ||
"hatchling", | ||
] | ||
|
||
[project] | ||
name = "django-simple-history" | ||
description = "Store model history and view/revert changes from admin site." | ||
maintainers = [ | ||
{ name = "Trey Hunner" }, | ||
] | ||
authors = [ | ||
{ name = "Corey Bertram", email = "[email protected]" }, | ||
] | ||
requires-python = ">=3.8" | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Web Environment", | ||
"Framework :: Django", | ||
"Framework :: Django :: 4.2", | ||
"Framework :: Django :: 5.0", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: BSD License", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
# DEV: uncomment this when the `pyproject-fmt` pre-commit hook stops removing it | ||
#"Programming Language :: Python :: 3.13", | ||
] | ||
dynamic = [ | ||
"readme", | ||
"version", | ||
] | ||
dependencies = [ | ||
] | ||
urls.Changelog = "https://github.com/jazzband/django-simple-history/blob/master/CHANGES.rst" | ||
urls.Documentation = "https://django-simple-history.readthedocs.io/en/stable/" | ||
urls.Homepage = "https://github.com/jazzband/django-simple-history" | ||
urls.Source = "https://github.com/jazzband/django-simple-history" | ||
urls.Tracker = "https://github.com/jazzband/django-simple-history/issues" | ||
|
||
[tool.hatch.version] | ||
source = "vcs" | ||
fallback-version = "0.0.0" | ||
|
||
[tool.hatch.version.raw-options] | ||
version_scheme = "no-guess-dev" | ||
local_scheme = "node-and-date" | ||
|
||
[tool.hatch.build.targets.wheel] | ||
# Jazzband's release process is limited to 2.2 metadata | ||
# - see https://github.com/jazzband/help/issues/360 | ||
core-metadata-version = "2.2" | ||
packages = [ | ||
"simple_history", | ||
] | ||
|
||
[tool.hatch.build.targets.sdist] | ||
# Jazzband's release process is limited to 2.2 metadata | ||
# - see https://github.com/jazzband/help/issues/360 | ||
core-metadata-version = "2.2" | ||
|
||
[tool.hatch.metadata.hooks.fancy-pypi-readme] | ||
content-type = "text/x-rst" | ||
fragments = [ | ||
{ path = "README.rst", start-after = ".. Start of PyPI readme\n\n" }, | ||
{ text = "\n====\n\nChangelog\n=========\n\n" }, | ||
{ path = "CHANGES.rst", start-after = ".. Start of PyPI readme\n\n" }, | ||
] | ||
|
||
[tool.black] | ||
line-length = 88 | ||
target-version = ["py38"] | ||
target-version = [ | ||
"py38", | ||
] | ||
|
||
[tool.isort] | ||
profile = "black" | ||
|
@@ -9,12 +88,19 @@ py_version = "38" | |
[tool.coverage.run] | ||
parallel = true | ||
branch = true | ||
source = ["simple_history"] | ||
source = [ | ||
"simple_history", | ||
] | ||
|
||
[tool.coverage.paths] | ||
source = ["simple_history", ".tox/*/site-packages"] | ||
source = [ | ||
"simple_history", | ||
".tox/*/site-packages", | ||
] | ||
|
||
[tool.coverage.report] | ||
show_missing = true | ||
skip_covered = true | ||
omit = ["requirements/*"] | ||
omit = [ | ||
"requirements/*", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters