Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dvadym committed Oct 10, 2023
1 parent cc30808 commit 3272b6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ jobs:
timeout-minutes: 20
run: |
pip install cibuildwheel
export CIBW_PLATFORM=linux
# Set for which Python version to build.
py_version=${matrix.python-version//.}
py_version=${matrix.python-version//.} # 3.11 -> 311
EXPORT CIBW_BUILD=cp${py_version}-manylinux_x86_64
# Build wheel
echo "Building ${CIBW_BUILD} wheel"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def run(self):
os.system("./build_PyDP_linux.sh")

# Copy _pydp.so to cibuildwheel directory.
pydp_lib = "cp src/pydp/_pydp.so"
pydp_lib = "src/pydp/_pydp.so"
version_str = f"{sys.version_info.major}{sys.version_info.minor}"
destination_dir = f"build/lib.linux-x86_64-cpython-{version_str}/pydp"
os.system(f"cp {pydp_lib} {destination_dir}")
Expand Down

0 comments on commit 3272b6d

Please sign in to comment.