Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use pyproject.toml to specify package metadata #134

Merged
merged 1 commit into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading