Skip to content

Commit

Permalink
Add pyproject.toml to all packages (#758)
Browse files Browse the repository at this point in the history
* Add pyproject.toml to all packages

* Improve the publishing workflow
  • Loading branch information
HGSilveri authored Nov 6, 2024
1 parent b597826 commit cf998cb
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions pulser-core/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools >= 64"]
build-backend = "setuptools.build_meta"
3 changes: 3 additions & 0 deletions pulser-pasqal/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools >= 64"]
build-backend = "setuptools.build_meta"
3 changes: 3 additions & 0 deletions pulser-simulation/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools >= 64"]
build-backend = "setuptools.build_meta"
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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',
]
]

[build-system]
requires = ["setuptools >= 64"]
build-backend = "setuptools.build_meta"

0 comments on commit cf998cb

Please sign in to comment.