Skip to content

Commit 4f93dd1

Browse files
committed
update makefile to reflect poetry env chnage
1 parent fa8fb2a commit 4f93dd1

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ install:
55
poetry install
66

77
test:
8-
pytest tests/*
8+
poery run pytest tests/*
99

1010
cleandist:
1111
rm -rf dist/

pyproject.toml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ packages = [
3030
]
3131

3232

33+
[tool.poetry-dynamic-versioning]
34+
enable = true
35+
vcs = "git"
36+
style = "pep440"
37+
3338
[tool.poetry.dependencies]
3439
python = "^3.8"
3540
linkml = "^1.3.13"
@@ -47,9 +52,10 @@ twine = "^4.0.1"
4752

4853
[tool.poetry.dev-dependencies]
4954

50-
[build-system]
51-
requires = ["poetry-core>=1.0.0"]
52-
build-backend = "poetry.core.masonry.api"
5355

5456
[tool.poetry.extras]
55-
docs = ["Sphinx", "sphinxcontrib-mermaid"]
57+
docs = ["Sphinx", "sphinxcontrib-mermaid"]
58+
59+
[build-system]
60+
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
61+
build-backend = "poetry_dynamic_versioning.backend"

0 commit comments

Comments
 (0)