From 7941e7535c202e8ea0485e2a56d5f8e96fbd7b5f Mon Sep 17 00:00:00 2001 From: Michel van de Wetering Date: Mon, 5 Aug 2024 20:46:01 +0200 Subject: [PATCH] Use version from pyproject.toml now --- .github/workflows/python-package.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 494773d..976ef2f 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -26,7 +26,7 @@ jobs: run: | VERSION_NUMBER="${GITHUB_REF_NAME:1}" echo Version $VERSION_NUMBER extracted from $GITHUB_REF_NAME - grep version=\"$VERSION_NUMBER\", setup.py + grep "version = \"$VERSION_NUMBER\"" pyproject.toml - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: diff --git a/pyproject.toml b/pyproject.toml index c9bf333..0a20898 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ requires-python = ">=3.8" authors = [ { name = "Michel van de Wetering", email = "michel.van.de.wetering+ynca@gmail.com" }, ] -license = {file = "LICENSE.txt"} +license = { file = "LICENSE.txt" } classifiers = [ "Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License",