diff --git a/.github/workflows/publish-to-test-pypi.yml b/.github/workflows/publish-to-test-pypi.yml index 5203734..16162c4 100644 --- a/.github/workflows/publish-to-test-pypi.yml +++ b/.github/workflows/publish-to-test-pypi.yml @@ -48,7 +48,10 @@ jobs: path: py/dist/ - name: Publish distribution 📦 to PyPI uses: pypa/gh-action-pypi-publish@release/v1 - + with: + password: ${{ secrets.TOKEN }} + packages-dir: py/dist + github-release: name: >- Sign the Python 🐍 distribution 📦 with Sigstore @@ -89,7 +92,7 @@ jobs: # sigstore-produced signatures and certificates. run: >- gh release upload - '${{ github.ref_name }}' dist/** + '${{ github.ref_name }}' py/dist/** --repo '${{ github.repository }}' publish-to-testpypi: @@ -115,3 +118,5 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: repository-url: https://test.pypi.org/legacy/ + password: ${{ secrets.TOKEN_TEST }} + packages-dir: py/dist diff --git a/README.md b/README.md index d6f73ab..a13ddc9 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,8 @@ Tools for XCI, XCZ, NSP and NSZ Based on nut, NSC_B and nsz + +# pypi.org + +for using nstools.Fs, nstools.lib and nstools.nut: +https://pypi.org/project/nstools/ diff --git a/py/setup.py b/py/setup.py index 31c1663..777b94b 100644 --- a/py/setup.py +++ b/py/setup.py @@ -2,13 +2,13 @@ setuptools.setup( name='nstools', - version='1.1.0', + version='1.1.2', url="https://github.com/seiya-dev/NSTools", + long_description="tools for xci/xcz/nsp/nsz", packages=['nstools.Fs', 'nstools.nut', 'nstools.lib'], install_requires=[ 'zstandard', 'enlighten', - 'requests', 'pycryptodome', ], python_requires = '>=3.10',