|
| 1 | +[build-system] |
| 2 | +requires = ["hatchling", "hatch-vcs", "hatch-fancy-pypi-readme"] |
| 3 | +build-backend = "hatchling.build" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "django-simple-history" |
| 7 | +dynamic = ["version", "readme"] |
| 8 | +description = "Store model history and view/revert changes from admin site." |
| 9 | +license = "BSD-3-Clause" |
| 10 | +requires-python = ">=3.8" |
| 11 | +authors = [ |
| 12 | + { name = "Corey Bertram", email = "[email protected]" }, |
| 13 | +] |
| 14 | +maintainers = [ |
| 15 | + { name = "Trey Hunner" }, |
| 16 | +] |
| 17 | +classifiers = [ |
| 18 | + "Development Status :: 5 - Production/Stable", |
| 19 | + "Environment :: Web Environment", |
| 20 | + "Framework :: Django", |
| 21 | + "Framework :: Django", |
| 22 | + "Framework :: Django :: 3.2", |
| 23 | + "Framework :: Django :: 4.2", |
| 24 | + "Framework :: Django :: 5.0", |
| 25 | + "Intended Audience :: Developers", |
| 26 | + "License :: OSI Approved :: BSD License", |
| 27 | + "Programming Language :: Python", |
| 28 | + "Programming Language :: Python :: 3", |
| 29 | + "Programming Language :: Python :: 3.8", |
| 30 | + "Programming Language :: Python :: 3.9", |
| 31 | + "Programming Language :: Python :: 3.10", |
| 32 | + "Programming Language :: Python :: 3.11", |
| 33 | + "Programming Language :: Python :: 3.12", |
| 34 | + "Programming Language :: Python :: 3.13", |
| 35 | +] |
| 36 | +# DEV: Remove `asgiref` when the minimum required Django version is 4.2 |
| 37 | +dependencies = ["asgiref>=3.6"] |
| 38 | + |
| 39 | +[project.urls] |
| 40 | +Changelog = "https://github.com/jazzband/django-simple-history/blob/master/CHANGES.rst" |
| 41 | +Documentation = "https://django-simple-history.readthedocs.io/" |
| 42 | +Source = "https://github.com/jazzband/django-simple-history" |
| 43 | +Tracker = "https://github.com/jazzband/django-simple-history/issues" |
| 44 | + |
| 45 | +[tool.hatch.version] |
| 46 | +source = "vcs" |
| 47 | + |
| 48 | +[tool.hatch.version.raw-options] |
| 49 | +version_scheme = "post-release" |
| 50 | +local_scheme = "node-and-date" |
| 51 | +fallback_version = "0.0.0" |
| 52 | + |
| 53 | +[tool.hatch.metadata.hooks.fancy-pypi-readme] |
| 54 | +content-type = "text/x-rst" |
| 55 | +fragments = [ |
| 56 | + { path = "README.rst" }, |
| 57 | + { path = "CHANGES.rst" }, |
| 58 | +] |
| 59 | + |
| 60 | +[tool.hatch.build.targets.wheel] |
| 61 | +packages = ["simple_history"] |
| 62 | + |
| 63 | +[tool.hatch.build.targets.sdist] |
| 64 | +include = [ |
| 65 | + "/docs", |
| 66 | + "/simple_history", |
| 67 | + "*.rst", |
| 68 | + "*.txt", |
| 69 | +] |
| 70 | + |
1 | 71 | [tool.black]
|
2 | 72 | line-length = 88
|
3 | 73 | target-version = ["py38"]
|
|
0 commit comments