Skip to content

Commit

Permalink
Use setuptools-scm to build package (#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyve committed Dec 28, 2023
1 parent e55a0ea commit 23006f4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 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
4 changes: 2 additions & 2 deletions 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 Expand Up @@ -35,7 +35,7 @@ license = {file = "LICENSE"}
name = "django-marina"
readme = "README.md"
requires-python = ">=3.8"
version = "23.7.dev0"
version = "23.7.dev1"

[project.urls]
Changelog = "https://github.com/zostera/django-marina/blob/main/CHANGELOG.md"
Expand Down
3 changes: 3 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
-r requirements-test.txt
-r docs/requirements.txt
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 23006f4

Please sign in to comment.