diff --git a/.github/workflows/release-pypi.yml b/.github/workflows/release-pypi.yml index e1c00e8..b45db99 100644 --- a/.github/workflows/release-pypi.yml +++ b/.github/workflows/release-pypi.yml @@ -31,6 +31,9 @@ jobs: upload-to-pypi: needs: build runs-on: ubuntu-latest + environment: + name: pypi + url: https://pypi.org/p/sieve.cache permissions: id-token: write @@ -44,4 +47,7 @@ jobs: - name: Publish to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: + skip-existing: true + verify-metadata: false + verbose: true packages-dir: dist/ diff --git a/README.md b/README.md index c9f4ba1..fae8aaa 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ and removes the first unvisited candidate. Install from source: ```bash -pip install -e . +pip install sieve.cache ``` ## Quick Usage diff --git a/pyproject.toml b/pyproject.toml index 4032bc0..245cb1c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,9 +3,9 @@ requires = ["hatchling", "hatch-vcs", "hatch-requirements-txt"] build-backend = "hatchling.build" [project] -name = "seive_cache" +name = "sieve.cache" dynamic = ["version", "dependencies"] -description = "A simple implementation of SEIVE caching algorithm" +description = "A simple implementation of SIEVE caching algorithm" readme = "README.md" requires-python = ">=3.10" license = { text = "Apache-2.0" }