Skip to content

Commit

Permalink
configure cibuildwheel in pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
flaport committed Sep 6, 2023
1 parent dc2e573 commit aed221a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ jobs:

- name: Build wheels
run: cd eigs-py && python -m cibuildwheel --output-dir ../wheelhouse && cd -
env:
CIBW_MANYLINUX_X86_64_IMAGE: flaport/manylinux2014_x86_64
CIBW_ENVIRONMENT: 'PATH="$HOME/.cargo/bin:$PATH"'

- uses: actions/upload-artifact@v3
with:
Expand Down
10 changes: 9 additions & 1 deletion eigs-py/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ keywords = [
license = { text = "LGPL-2.1-only" }
readme = "README.md"
classifiers = [
#"Operating System :: OS Independent",
"Operating System :: POSIX :: Linux",
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand All @@ -41,3 +42,10 @@ include = '\.pyi?$'

[tool.pyright]
reportPrivateImportUsage = false

[tool.cibuildwheel]
build = "*-manylinux2014_x86_64"
manylinux-x86_64-image = "flaport/manylinux2014_x86_64"

[tool.cibuildwheel.linux]
environment = {PATH="$HOME/.cargo/bin:$PATH"}

0 comments on commit aed221a

Please sign in to comment.