Skip to content

Commit

Permalink
Use pyproject.toml to specify package metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Viicos committed May 28, 2024
1 parent 20d5ce6 commit c5f2824
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 58 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ __pycache__
venv
dist
files
.mypy_cache

.DS_STORE
42 changes: 42 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,45 @@
[build-system]
requires = ["setuptools>=61.0.0"]
build-backend = "setuptools.build_meta"

[project]
name = "django-solo"
description = "Django Solo helps working with singletons"
authors = [{name = "lazybird"}]
maintainers = [
{name = "John Hagen", email = "[email protected]"}
]
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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",
]
dependencies = [
"django>=3.2",
"typing-extensions>=4.0.1; python_version < '3.11'",
]
license = {text = "Creative Commons Attribution 3.0 Unported"}
dynamic = ["version"]

[tool.setuptools.dynamic]
version = {attr = "solo.__version__"}

[project.urls]
Homepage = "https://github.com/lazybird/django-solo/"
Source = "https://github.com/lazybird/django-solo/"
Changelog = "https://github.com/lazybird/django-solo/blob/master/CHANGES"

[tool.mypy]
ignore_missing_imports = true
strict = true
Expand Down
58 changes: 0 additions & 58 deletions setup.py

This file was deleted.

0 comments on commit c5f2824

Please sign in to comment.