From c7dc96d8239add31510d4e5d55b39eb073c5b580 Mon Sep 17 00:00:00 2001 From: Brent Vollebregt Date: Sat, 16 Nov 2024 17:03:53 +1300 Subject: [PATCH] Setup PyPI trusted publisher --- .github/workflows/publish.yml | 5 +---- setup.py | 5 +++++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 38a3533..cf18854 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -152,10 +152,7 @@ jobs: run: python setup.py sdist bdist_wheel --universal - name: Publish package - uses: pypa/gh-action-pypi-publish@c7f29f7adef1a245bd91520e94867e5c6eedddcc - with: - user: __token__ - password: ${{ secrets.pypi_password }} + uses: pypa/gh-action-pypi-publish@release/v1 - name: Create release id: create_release diff --git a/setup.py b/setup.py index d6b7025..e1a34d9 100644 --- a/setup.py +++ b/setup.py @@ -14,6 +14,11 @@ description="Converts .py to .exe using a simple graphical interface.", long_description="".join(open("README.md", encoding="utf-8").readlines()), long_description_content_type="text/markdown", + project_urls={ + "Source Code": "https://github.com/brentvollebregt/auto-py-to-exe", + "Bug Tracker": "https://github.com/brentvollebregt/auto-py-to-exe/issues", + "Changelog": "https://github.com/brentvollebregt/auto-py-to-exe/blob/master/CHANGELOG.md", + }, keywords=["gui", "executable"], packages=["auto_py_to_exe"], include_package_data=True,