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 287f01c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 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

- 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 --no-isolation

- name: Upload artifacts
uses: actions/upload-artifact@v3
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ __pycache__/
cache/
# C extensions
*.so
test/

# Distribution / packaging
.Python
Expand Down
6 changes: 0 additions & 6 deletions pyprojet.toml

This file was deleted.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@
],
python_requires=">=3.8",
rust_extensions=[RustExtension("rslenlp", binding=Binding.PyO3)],
setup_requires=["setuptools-rust>=1.4.0", "maturin >= 1.5.1"],
setup_requires=["setuptools-rust>=1.9.0"],
)

0 comments on commit 287f01c

Please sign in to comment.