Skip to content

Commit

Permalink
support newer python versions in CI, add cargo lock to sdist
Browse files Browse the repository at this point in the history
  • Loading branch information
cassiersg committed Oct 15, 2024
1 parent a780e8f commit 6eb938f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ jobs:
fail-fast: false
matrix:
include:
# - vers: aarch64
# os: ubuntu-20.04
# - vers: aarch64
# os: ubuntu-20.04
- vers: auto64
os: ubuntu-20.04
# - vers: arm64
# os: macos-10.15
# - vers: auto64
# os: macos-10.15
# - vers: arm64
# os: macos-10.15
# - vers: auto64
# os: macos-10.15
- vers: auto64
os: windows-2019

Expand All @@ -44,7 +44,7 @@ jobs:
platforms: all

- name: wheels ${{ matrix.os }} ${{ matrix.vers }}
uses: pypa/cibuildwheel@v2.4.0
uses: pypa/cibuildwheel@v2.21.3
env:
CIBW_ENVIRONMENT_WINDOWS: CXXFLAGS='-I C:/Local/boost_1_74_0'
CIBW_BEFORE_ALL_LINUX: "curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain stable -y && yum install -y boost-devel"
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
include Cargo.toml
include Cargo.lock
recursive-include src *
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

setup(
name="straps",
version="0.1.2",
version="0.1.3",
author="Gaëtan Cassiers",
author_email="[email protected]",
description="Statistical Testing of RAndom Probing Security",
Expand All @@ -36,11 +36,11 @@
"Programming Language :: Python :: 3",
],
rust_extensions=[
RustExtension("straps._straps_ext", binding=Binding.PyO3, debug=False)
],
RustExtension("straps._straps_ext", binding=Binding.PyO3, debug=False)
],
packages=["straps"],
# rust extensions are not zip safe, just like C-extensions.
zip_safe=False,
python_requires='>=3.6',
install_requires=["joblib~=0.17", "matplotlib~=3.1", "numpy~=1.16", "tqdm~=4.51"],
python_requires=">=3.6",
install_requires=["joblib~=0.17", "matplotlib~=3.1", "numpy~=1.16", "tqdm~=4.51"],
)

0 comments on commit 6eb938f

Please sign in to comment.