Skip to content

Commit

Permalink
Added dynamic versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
perara committed Oct 18, 2024
1 parent 85314db commit 83c538e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[build-system]
requires = ["setuptools>=42", "wheel", "cmake>=3.30", "nanobind==1.9.2", "ninja"]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2", "wheel", "cmake>=3.30", "nanobind==1.9.2", "ninja"]
build-backend = "setuptools.build_meta"

[project]
name = "jobshop"
version = "0.1.0"
dynamic = ["version"]
description = "Job Shop Scheduling Algorithms"
authors = [{name = "Per-Arne Andersen", email = "[email protected]"}]
license = {file = "LICENSE"}
Expand All @@ -23,6 +23,9 @@ classifiers = [
[tool.setuptools]
packages = ["jsp"]

[tool.setuptools_scm]
write_to = "jsp/_version.py"

[tool.pytest.ini_options]
pythonpath = ["."]

Expand Down

0 comments on commit 83c538e

Please sign in to comment.