From f8fd8d2b381e6cb3f47ad1beaa4f3b5d74cb192e Mon Sep 17 00:00:00 2001 From: Omry Mendelovich Date: Tue, 3 Dec 2024 18:08:36 +0200 Subject: [PATCH] change name in setup.py --- .github/workflows/release.yml | 3 +++ setup.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bb6f2d1ab..5aa829420 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -83,6 +83,9 @@ jobs: run: | python -m pip install wheel python setup.py sdist bdist_wheel + - name: rename dist files + run: | + for file in dist/*.gz; do mv "$file" "$(echo $file | sed 's/-/_/g')" ; done - name: Publish a Python distribution to PyPI uses: pypa/gh-action-pypi-publish@15c56dba361d8335944d31a2ecd17d700fc7bcbc # v1.12.2 - name: sleep and wait for package to refresh diff --git a/setup.py b/setup.py index 4b4982076..96c71381a 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ def get_version(): setup( - name='bc_detect_secrets', + name='bc-detect-secrets', python_requires='>=3.8', packages=find_packages(exclude=(['test*', 'tmp*'])), version=VERSION,