Skip to content

Commit

Permalink
Tweak project settings
Browse files Browse the repository at this point in the history
  • Loading branch information
emlowe committed Jan 22, 2024
1 parent 8445258 commit c6aaf69
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.5.0", "pybind11>=2.10.0"]
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.5.0", "pybind11>=2.10.0", "looseversion"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
Expand Down Expand Up @@ -28,19 +28,19 @@ yum -y install epel-release \
&& cmake --version \
&& uname -a \
"""
before-build = "python -m pip install --upgrade pip && pip install looseversion"
before-build = "python -m pip install --upgrade pip"

[tool.cibuildwheel.macos]
build-verbosity = 0
before-all = "brew install gmp boost cmake"
before-build = "python -m pip install --upgrade pip && pip install looseversion"
before-build = "python -m pip install --upgrade pip"
environment = {MACOSX_DEPLOYMENT_TARGET="11", SYSTEM_VERSION_COMPAT=0, BUILD_VDF_CLIENT="N"}

[tool.cibuildwheel.windows]
build-verbosity = 0
before-all = "git clone https://github.com/Chia-Network/mpir_gc_x64.git"
environment = {BUILD_VDF_CLIENT="N", SETUPTOOLS_USE_DISTUTILS="stdlib"}
before-build = "pip install delvewheel && pip install looseversion"
before-build = "pip install delvewheel"
repair-wheel-command = """
delvewheel repair -v -w {dest_dir} {wheel} \
--add-path mpir_gc_x64 \
Expand Down

0 comments on commit c6aaf69

Please sign in to comment.