diff --git a/.github/workflows/python-app.yaml b/.github/workflows/python-app.yaml index da1a1133d..2d967cd7c 100644 --- a/.github/workflows/python-app.yaml +++ b/.github/workflows/python-app.yaml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v4 diff --git a/pyproject.toml b/pyproject.toml index 34d10ba0c..d11420346 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,10 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] +requires = ["setuptools>=61.0.0", "wheel", "setuptools_scm[toml]>=6.2"] build-backend = "setuptools.build_meta" [project] name = "flixOpt" -version = "1.0.9" +dynamic = ["version"] description = "Vector based energy and material flow optimization framework in Python." readme = "README.md" requires-python = ">=3.10, <3.13" @@ -63,6 +63,9 @@ exclude = ["tests", "docs", "examples", "examples.*", "Tutorials", ".git", ".vsc [tool.setuptools.package-data] "flixOpt" = ["config.yaml"] +[tool.setuptools_scm] +version_scheme = "post-release" + [tool.ruff] # Files or directories to exclude (e.g., virtual environments, cache, build artifacts) exclude = [