Skip to content

Commit

Permalink
setup.py -> pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
craigds committed Jan 22, 2025
1 parent d419218 commit 6c223b9
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 45 deletions.
47 changes: 47 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "django-typed-models"
description = "Sane single table model inheritance for Django"
readme = "README.md"
dynamic = ["version"]
authors = [
{ name = "Craig de Stigter", email = "[email protected]" },
]
license = "BSD-3-Clause"
license-files = { paths = ["LICENSE.txt"] }
classifiers = [
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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",
"Programming Language :: Python :: 3.13",
"Topic :: Utilities",
]
dependencies = [
"django_stubs_ext",
]
requires-python = ">=3.8"

[project.urls]
Homepage = "http://github.com/craigds/django-typed-models"

[tool.hatch.version]
path = "typedmodels/__init__.py"

[tool.hatch.build.targets.wheel]
packages = ["typedmodels"]
45 changes: 0 additions & 45 deletions setup.py

This file was deleted.

1 change: 1 addition & 0 deletions typedmodels/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "0.15.0"

0 comments on commit 6c223b9

Please sign in to comment.