Skip to content

Commit

Permalink
?
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs committed Sep 11, 2024
1 parent 5024c0f commit 8a47ac0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,12 @@ jobs:
- uses: actions/checkout@v3
- name: Install LAPACK, OpenBLAS
run:
apt-get install -y libopenblas-dev liblapack-dev
yum install -y lapack-devel blas-devel opensll-devel

- name: Install uv
run: pip install uv "maturin>=1.7" auditwheel
- name: Make virtual environment
run: |
uv venv .venv
uv pip install pip pytest
- name: Install maturin
run: python3 -m pip install "maturin>=1.7" auditwheel
- name: Build python package
run: |
source .venv/bin/activate
maturin build
auditwheel repair target/wheels/ndelement-0.1.0.dev0-py3-none-manylinux_2_35_x86_64.whl
- name: Show
Expand Down
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
mpi = ["dep:mpi"]
serde = ["dep:serde"]
strict = []
python = []

[package]
name = "ndelement"
Expand All @@ -24,7 +25,7 @@ crate-type = ["lib", "cdylib"]
itertools = "0.13.*"
mpi = { version = "0.8.*", optional = true }
num = "0.4"
rlst = "0.2.0"
rlst = { version = "0.2.0", default-features = false }
serde = { version = "1", features = ["derive"], optional = true }

[dev-dependencies]
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ repository = "https://github.com/bempp/ndelement"
[tool.maturin]
python-source = "python"
module-name = "ndelement._ndelementrs"
cargo-extra-args = '--features "serde,python"'

[tool.ruff]
line-length = 100
Expand Down

0 comments on commit 8a47ac0

Please sign in to comment.