From 57fa2420f701611136ee802af13a212c8b56c86f Mon Sep 17 00:00:00 2001 From: Jarrett Ye Date: Fri, 9 Jun 2023 03:55:19 +0800 Subject: [PATCH] Fix/python-publish-workflow --- .github/workflows/python-publish.yml | 1 + package/pyproject.toml | 3 ++- package/version.txt | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) delete mode 100644 package/version.txt diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 88dd5db..dc73eb6 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -38,3 +38,4 @@ jobs: with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} + packages_dir: package/dist/ diff --git a/package/pyproject.toml b/package/pyproject.toml index 0777c5a..c0e6cba 100644 --- a/package/pyproject.toml +++ b/package/pyproject.toml @@ -5,6 +5,7 @@ build-backend = "setuptools.build_meta" [project] name = "fsrs4anki_optimizer" version = "3.23.1" +readme = "README.md" dependencies = [ "matplotlib>=3.7.0", "numpy~=1.22.4", @@ -18,4 +19,4 @@ dependencies = [ requires-python = ">=3.8" [project.urls] -Homepage = "https://github.com/open-spaced-repetition/fsrs4anki" \ No newline at end of file +Homepage = "https://github.com/open-spaced-repetition/fsrs4anki" diff --git a/package/version.txt b/package/version.txt deleted file mode 100644 index 6f0e719..0000000 --- a/package/version.txt +++ /dev/null @@ -1 +0,0 @@ -3.23.0 \ No newline at end of file