Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael Sourty committed May 26, 2024
1 parent b9feb94 commit 01a5a38
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,10 @@ jobs:
override: true

- name: Install build dependencies
run: pip install setuptools-rust
run: pip install build setuptools-rust

- name: Build wheel
run: pip wheel .

- name: Create source distribution
run: python setup.py sdist
- name: Build wheel and source distribution
run: python -m build

- name: Upload artifacts
uses: actions/upload-artifact@v3
Expand Down
6 changes: 3 additions & 3 deletions pyprojet.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = ["maturin>=1.0,<2.0", ]
build-backend = "maturin"
requires = ["setuptools>=42", "wheel", "setuptools-rust>=0.12.1"]
build-backend = "setuptools.build_meta"

[[tool.setuptools-rust.ext-modules]]
target = "rslenlp"
target = "rslenlp"

0 comments on commit 01a5a38

Please sign in to comment.