Skip to content

Commit

Permalink
Use setuptools-scm to ensure all repo files are in sdist (#235)
Browse files Browse the repository at this point in the history
Listing `setuptools_scm` in `pyproject.toml` enables it to be used to
determine which files are included in the sdist instead of the older
`MANIFEST.in` procedure. `setuptools_scm` just includes every file
tracked by `git` which seems fine for this small project.

Additionally, delete `INSTALL.txt` which had outdated installation
information.
  • Loading branch information
wshanks committed Jun 4, 2024
1 parent e3426fd commit 7cea5a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 35 deletions.
21 changes: 0 additions & 21 deletions INSTALL.txt

This file was deleted.

13 changes: 0 additions & 13 deletions MANIFEST.in

This file was deleted.

4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools"]
requires = ["setuptools>=64", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"

[project]
Expand Down Expand Up @@ -52,6 +52,8 @@ dependencies = []
[tool.setuptools]
packages = ["uncertainties", "uncertainties.unumpy"]

[tool.setuptools_scm]

[project.urls]
Documentation = "http://uncertainties-python-package.readthedocs.io/"
Repository = "https://github.com/lmfit/uncertainties"
Expand Down

0 comments on commit 7cea5a9

Please sign in to comment.