Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
mborgerson committed Nov 29, 2023
1 parent efc1bea commit 3bbedac
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 11 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,24 @@
import struct
import subprocess
import sys
import sysconfig
from setuptools import setup, Extension
from setuptools.command.build_ext import build_ext


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):
"""
Expand Down

0 comments on commit 3bbedac

Please sign in to comment.