Add `pyproject.toml` to examples

pull/232/head
messense 4 months ago
parent f2a62c3a89
commit 623f7572b8
No known key found for this signature in database
GPG Key ID: BB41A8A2C716CCA9
  1. 2
      .github/workflows/ci.yml
  2. 2
      README.md
  3. 2
      examples/hello-world/pyproject.toml
  4. 2
      examples/html-py-ever/pyproject.toml
  5. 2
      examples/namespace_package/pyproject.toml
  6. 2
      examples/rust_with_cffi/pyproject.toml

@ -187,7 +187,7 @@ jobs:
python -c "from rust_with_cffi import rust; assert rust.rust_func() == 14"
python -c "from rust_with_cffi.cffi import lib; assert lib.cffi_func() == 15"
test-cross-compile:
test-crossenv:
runs-on: ubuntu-latest
strategy:
# If one platform fails, allow the rest to keep testing if `CI-no-fail-fast` label is present

@ -80,7 +80,7 @@ Finished processing dependencies for hello_rust==1.0
Or you can use commands like `bdist_wheel` (after installing `wheel`). See also [the notes in the documentation about building wheels](https://setuptools-rust.readthedocs.io/en/latest/building_wheels.html).
Cross-compiling is also supported, using one of [`crossenv`](https://github.com/benfogle/crossenv), [`cross`](https://github.com/rust-embedded/cross) or [`cargo-zigbuild`](https://github.com/messense/cargo-zigbuild).
For examples see the `test-cross-compile` and `test-cross` and `test-zigbuild` Github actions jobs in [`ci.yml`](https://github.com/PyO3/setuptools-rust/blob/main/.github/workflows/ci.yml).
For examples see the `test-crossenv` and `test-cross` and `test-zigbuild` Github actions jobs in [`ci.yml`](https://github.com/PyO3/setuptools-rust/blob/main/.github/workflows/ci.yml).
By default, `develop` will create a debug build, while `install` will create a release build.

@ -0,0 +1,2 @@
[build-system]
requires = ["setuptools", "wheel", "setuptools-rust"]

@ -0,0 +1,2 @@
[build-system]
requires = ["setuptools", "wheel", "setuptools-rust"]

@ -0,0 +1,2 @@
[build-system]
requires = ["setuptools", "wheel", "setuptools-rust"]

@ -0,0 +1,2 @@
[build-system]
requires = ["setuptools", "wheel", "setuptools-rust"]
Loading…
Cancel
Save