Skip to content

Commit

Permalink
Move project metadata to pyproject.toml (jaraco/skeleton#122)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bswck authored Apr 16, 2024
1 parent 7ad4f2f commit f4529af
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 43 deletions.
49 changes: 48 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,52 @@
[build-system]
requires = ["setuptools>=56", "setuptools_scm[toml]>=3.4.1"]
requires = ["setuptools>=61.2", "setuptools_scm[toml]>=3.4.1"]
build-backend = "setuptools.build_meta"

[project]
name = "PROJECT"
authors = [
{ name = "Jason R. Coombs", email = "[email protected]" },
]
description = "PROJECT_DESCRIPTION"
readme = "README.rst"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
]
requires-python = ">=3.8"
dependencies = [
]
dynamic = ["version"]

[project.optional-dependencies]
testing = [
# upstream
"pytest >= 6, != 8.1.*",
"pytest-checkdocs >= 2.4",
"pytest-cov",
"pytest-mypy",
"pytest-enabler >= 2.2",
"pytest-ruff >= 0.2.1",

# local
]
docs = [
# upstream
"sphinx >= 3.5",
"jaraco.packaging >= 9.3",
"rst.linker >= 1.9",
"furo",
"sphinx-lint",

# local
]

[project.urls]
Homepage = "https://github.com/PROJECT_PATH"

[project.scripts]

[tool.setuptools_scm]
42 changes: 0 additions & 42 deletions setup.cfg

This file was deleted.

0 comments on commit f4529af

Please sign in to comment.