Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
mborgerson committed Nov 30, 2023
1 parent 0396c78 commit f78b553
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
with:
python-version: '3.12'
- run: |
pip install ./dist/*cp312*macos*arm64.whl
pip install --force-reinstall ./dist/*cp312*macos*arm64.whl
tar xvf ./dist/pypcode-*.tar.gz
cd pypcode-*/tests
python -m unittest discover -v -s .
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ def run(self):
os.makedirs(install_pkg_bin_dir, exist_ok=True)

# Install extension and sleigh binary
module_filename = glob("pypcode_native.*", root_dir=TARGET_BUILD_DIR)[0]
ext_path = glob(TARGET_BUILD_DIR + "/pypcode_native.*")[0]
sleigh_filename = "sleigh" + bin_ext
shutil.copy(os.path.join(TARGET_BUILD_DIR, sleigh_filename), os.path.join(install_pkg_bin_dir, sleigh_filename))
shutil.copy(os.path.join(TARGET_BUILD_DIR, module_filename), os.path.join(install_pkg_root, module_filename))
shutil.copy(ext_path, os.path.join(install_pkg_root, os.path.basename(ext_path)))

# Build sla files
host_bin_root = HOST_BUILD_DIR if CROSS_COMPILING_FOR_MACOS_ARM64 else install_pkg_bin_dir
Expand Down

0 comments on commit f78b553

Please sign in to comment.