Skip to content

Commit

Permalink
Use setuptools-scm to build package
Browse files Browse the repository at this point in the history
  • Loading branch information
dyve committed Dec 28, 2023
1 parent 7ace12f commit a601e0c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ publish: porcelain branch build
git push origin --tags

.PHONY: clean
clean: docs
clean:
rm -rf build dist src/*.egg-info .coverage*

.PHONY: version
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools"]
requires = ["setuptools>=64", "setuptools_scm>=8"]

[project]
authors = [
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
twine==4.0.2
build==1.0.3
setuptools==69.0.3
setuptools-scm==8.0.4
2 changes: 1 addition & 1 deletion requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
tox==4.11.4
coverage==7.3.4
coverage==7.4.0
ruff==0.1.9

0 comments on commit a601e0c

Please sign in to comment.