diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7b9eefb7..8ab3b535 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -31,6 +31,8 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: repository-url: https://test.pypi.org/legacy/ + skip-existing: true # Allows repeating the action + attestations: false # Otherwise an attestation is added to dist/ - name: Install from TestPyPI timeout-minutes: 5 shell: bash diff --git a/pulser-core/pyproject.toml b/pulser-core/pyproject.toml new file mode 100644 index 00000000..feb5d4d4 --- /dev/null +++ b/pulser-core/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools >= 64"] +build-backend = "setuptools.build_meta" \ No newline at end of file diff --git a/pulser-pasqal/pyproject.toml b/pulser-pasqal/pyproject.toml new file mode 100644 index 00000000..feb5d4d4 --- /dev/null +++ b/pulser-pasqal/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools >= 64"] +build-backend = "setuptools.build_meta" \ No newline at end of file diff --git a/pulser-simulation/pyproject.toml b/pulser-simulation/pyproject.toml new file mode 100644 index 00000000..feb5d4d4 --- /dev/null +++ b/pulser-simulation/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools >= 64"] +build-backend = "setuptools.build_meta" \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index edaf2ff0..a4abb7d5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,4 +13,8 @@ filterwarnings = [ "error", # Except these particular warnings, which are ignored 'ignore:A duration of \d+ ns is not a multiple of:UserWarning', - ] \ No newline at end of file + ] + +[build-system] +requires = ["setuptools >= 64"] +build-backend = "setuptools.build_meta" \ No newline at end of file