diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 80df23f2..0604dce9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -89,7 +89,6 @@ jobs: CIBW_BUILD: ${{ matrix.wheel }} CIBW_TEST_COMMAND: python -m unittest discover -v -s {package}/tests CIBW_BUILD_VERBOSITY: 1 - CIBW_BEFORE_BUILD_MACOS: python --version - uses: actions/upload-artifact@v3 with: name: wheels diff --git a/setup.py b/setup.py index 3f29e14a..f7374477 100644 --- a/setup.py +++ b/setup.py @@ -4,6 +4,7 @@ import struct import subprocess import sys +import sysconfig from setuptools import setup, Extension from setuptools.command.build_ext import build_ext @@ -11,6 +12,16 @@ ROOT_DIR = os.path.abspath(os.path.dirname(__file__)) BUILD_DIR = os.path.join(ROOT_DIR, "build", "native") +def print_tree(path): + print(f'---- walking {path}') + for root, dirs, files in os.walk(path): + for f in files: + print(os.path.join(root, f)) + print('----') + +print_tree(os.path.dirname(sys.executable) + '/../../../../') +print_tree(sysconfig.get_path('include')) +print_tree(sysconfig.get_config_var('LIBDIR')) class BuildExtension(build_ext): """