From f7c9190d8bddf8ed26f078bf563926b581083567 Mon Sep 17 00:00:00 2001 From: ngoan1608 Date: Thu, 4 May 2023 14:55:43 +0700 Subject: [PATCH 1/2] update dependencies accordingly --- .github/workflows/python-publish.yml | 10 ++-------- config/repository_config.json | 2 +- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 5b3107dc..a7b4b69f 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -24,7 +24,7 @@ jobs: run: | sudo apt-get install -y pandoc sudo apt-get install -y texlive-latex-* - python -m pip install --upgrade build twine colorama pypandoc wheel dotdict GenPackageDoc PythonExtensionsCollection + python -m pip install --upgrade build twine wheel GenPackageDoc PythonExtensionsCollection - name: Build source and wheel distributions run: | @@ -37,16 +37,10 @@ jobs: password: ${{ secrets.PYPI_API_TOKEN }} # This token should be created in Settings > Secrets > Actions # repository_url: https://test.pypi.org/legacy/ # Use this for testing to upload the distribution to test.pypi - - name: Get Asset name - run: | - export PKG=$(ls dist/ | grep tar) - set -- $PKG - echo "name=$1" >> $GITHUB_ENV - - name: Create/Update GitHub Release id: create_update_release uses: ncipollo/release-action@v1 with: allowUpdates: true omitNameDuringUpdate: true - artifacts: dist/${{ env.name }} \ No newline at end of file + artifacts: dist/* \ No newline at end of file diff --git a/config/repository_config.json b/config/repository_config.json index 5c378414..68a5f688 100644 --- a/config/repository_config.json +++ b/config/repository_config.json @@ -13,7 +13,7 @@ "DEVELOPMENTSTATUS" : "Development Status :: 4 - Beta", "INTENDEDAUDIENCE" : "Intended Audience :: Developers", "TOPIC" : "Topic :: Software Development", - "INSTALLREQUIRES" : ["pypandoc","colorama","GenPackageDoc","PythonExtensionsCollection"], + "INSTALLREQUIRES" : ["GenPackageDoc","PythonExtensionsCollection"], "PACKAGEDATA" : ["*.pdf"], "PACKAGEDOC" : "./packagedoc" } From b082eba5314df3e589cc9feb9b9ee4464b7706d6 Mon Sep 17 00:00:00 2001 From: ngoan1608 Date: Thu, 4 May 2023 15:10:14 +0700 Subject: [PATCH 2/2] remove GenPackageDoc and PythonExtensionsCollection from install_requires --- config/repository_config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/repository_config.json b/config/repository_config.json index 68a5f688..d99637f9 100644 --- a/config/repository_config.json +++ b/config/repository_config.json @@ -13,7 +13,7 @@ "DEVELOPMENTSTATUS" : "Development Status :: 4 - Beta", "INTENDEDAUDIENCE" : "Intended Audience :: Developers", "TOPIC" : "Topic :: Software Development", - "INSTALLREQUIRES" : ["GenPackageDoc","PythonExtensionsCollection"], + "INSTALLREQUIRES" : [], "PACKAGEDATA" : ["*.pdf"], "PACKAGEDOC" : "./packagedoc" }