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 c346060
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 18 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,11 @@ jobs:
toolchain: stable
override: true

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

- name: Build wheel
run: pip wheel .
- name: Install package dependencies
run: pip install setuptools-rust==1.9.0

- name: Create source distribution
run: python setup.py sdist
- name: Install build dependencies
run: pip install .

- 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.

6 changes: 1 addition & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@

from lenlp.__version__ import __version__

with open("readme.md", "r", encoding="utf-8") as fh:
long_description = fh.read()

base_packages = ["scikit-learn >= 1.5.0", "scipy >= 1.13.1"]
dev = ["maturin >= 1.5.1", "pytest-cov >= 5.0.0", "pytest >= 7.4.4", "ruff >= 0.1.15"]

Expand All @@ -15,7 +12,6 @@
version=f"{__version__}",
author="Raphael Sourty",
author_email="[email protected]",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/raphaelsty/lenlp",
download_url="https://github.com/raphaelsty/lenlp/archive/v_01.tar.gz",
Expand All @@ -30,5 +26,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 c346060

Please sign in to comment.