diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 12e26abc..353737c6 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -27,8 +27,8 @@ jobs: env: CIBW_BUILD: "${{ matrix.python.cp }}-${{ matrix.platform.target }}" CIBW_ARCHS: "${{ matrix.platform.arch }}" - CIBW_BEFORE_ALL_LINUX: "bash NO_CATCH2=1 {project}/scripts/manylinux_dependencies.sh" - CIBW_BEFORE_BUILD_MACOS: "bash NO_CATCH2=1 {project}/scripts/macos_dependencies.sh" + CIBW_BEFORE_ALL_LINUX: "bash {project}/scripts/manylinux_dependencies.sh" + CIBW_BEFORE_BUILD_MACOS: "bash {project}/scripts/macos_dependencies.sh" CIBW_MANYLINUX_X86_64_IMAGE: "manylinux_2_28" CIBW_MANYLINUX_AARCH64_IMAGE: "manylinux_2_28" #CIBW_TEST_COMMAND: "pip install -r {project}/requirements.txt && pytest {package}" diff --git a/setup.py b/setup.py index d3198fb5..fb0eafd0 100644 --- a/setup.py +++ b/setup.py @@ -16,8 +16,7 @@ def finalize_options(self) -> None: pass def run(self) -> None: - scons_flags = '' if 'BUILD_TESTS' in os.environ else '--minimal' - subprocess.run([f"scons {scons_flags} -j$(nproc || sysctl -n hw.logicalcpu)"], shell=True).check_returncode() + subprocess.run([f"scons --minimal -j$(nproc || sysctl -n hw.logicalcpu)"], shell=True).check_returncode() class CustomBuild(build):