diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a10c8db..8b0f871 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -168,6 +168,8 @@ jobs: with: repository-url: https://test.pypi.org/legacy/ packages-dir: dist/ + skip-existing: true + verbose: true publish-pypi: name: Publish to PyPI @@ -189,3 +191,5 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: packages-dir: dist/ + skip-existing: true + verbose: true diff --git a/pyproject.toml b/pyproject.toml index 71e94dc..0f85fef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,6 +33,9 @@ features = ["pyo3/extension-module", "pyo3/abi3-py39"] python-source = "." module-name = "macloop._macloop" manifest-path = "python_ffi/Cargo.toml" +include = [ + { path = "LICENSE", format = "sdist" }, +] [dependency-groups] dev = [