Skip to content

Commit f4529af

Browse files
authored
Move project metadata to pyproject.toml (jaraco/skeleton#122)
Intentionally omitted specifying `tool.setuptools.include-package-data`: it's true by default in `pyproject.toml` according to https://setuptools.pypa.io/en/latest/userguide/datafiles.html#include-package-data. Closes jaraco/skeleton#121
1 parent 7ad4f2f commit f4529af

File tree

2 files changed

+48
-43
lines changed

2 files changed

+48
-43
lines changed

pyproject.toml

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,52 @@
11
[build-system]
2-
requires = ["setuptools>=56", "setuptools_scm[toml]>=3.4.1"]
2+
requires = ["setuptools>=61.2", "setuptools_scm[toml]>=3.4.1"]
33
build-backend = "setuptools.build_meta"
44

5+
[project]
6+
name = "PROJECT"
7+
authors = [
8+
{ name = "Jason R. Coombs", email = "[email protected]" },
9+
]
10+
description = "PROJECT_DESCRIPTION"
11+
readme = "README.rst"
12+
classifiers = [
13+
"Development Status :: 5 - Production/Stable",
14+
"Intended Audience :: Developers",
15+
"License :: OSI Approved :: MIT License",
16+
"Programming Language :: Python :: 3",
17+
"Programming Language :: Python :: 3 :: Only",
18+
]
19+
requires-python = ">=3.8"
20+
dependencies = [
21+
]
22+
dynamic = ["version"]
23+
24+
[project.optional-dependencies]
25+
testing = [
26+
# upstream
27+
"pytest >= 6, != 8.1.*",
28+
"pytest-checkdocs >= 2.4",
29+
"pytest-cov",
30+
"pytest-mypy",
31+
"pytest-enabler >= 2.2",
32+
"pytest-ruff >= 0.2.1",
33+
34+
# local
35+
]
36+
docs = [
37+
# upstream
38+
"sphinx >= 3.5",
39+
"jaraco.packaging >= 9.3",
40+
"rst.linker >= 1.9",
41+
"furo",
42+
"sphinx-lint",
43+
44+
# local
45+
]
46+
47+
[project.urls]
48+
Homepage = "https://github.com/PROJECT_PATH"
49+
50+
[project.scripts]
51+
552
[tool.setuptools_scm]

setup.cfg

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)