diff --git a/.gitea/workflows/build-pypi.yml b/.gitea/workflows/build-pypi.yml index 9c74dd2..04646a5 100644 --- a/.gitea/workflows/build-pypi.yml +++ b/.gitea/workflows/build-pypi.yml @@ -15,10 +15,6 @@ jobs: with: python-version: '3.x' - - name: Read version from file - id: read_version - run: echo "VERSION=$(cat VERSION)" >> $GITHUB_ENV - - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/pyproject.toml b/pyproject.toml index 94a3aa5..c83078d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,5 @@ scripts = { docker_apps_view = "app:main" } dynamic = ["version"] -[tool.setuptools_scm] -version_scheme = "guess-next-dev" -local_scheme = "node-and-date" -write_to = "version.txt" \ No newline at end of file +[tool.setuptools.dynamic] +version = {file = "version.txt"} \ No newline at end of file