Skip to content

Commit

Permalink
We may have hitting some problems when creating the wheel.
Browse files Browse the repository at this point in the history
Those problems could come from the setup.py code, which has been changed to use 'conan create'.
assets.yml: enabling all jobs.
setup.py: removing the 're.escape' code.
  • Loading branch information
rturrado committed Oct 9, 2023
1 parent 07b67f6 commit 9f7ea83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
macos-x64:
if: ${{ false }} # disable for now
#if: ${{ false }} # disable for now
name: 'PyPI wheels for MacOS/x64'
runs-on: macos-latest
strategy:
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
asset_content_type: application/zip

windows-x64:
if: ${{ false }} # disable for now
#if: ${{ false }} # disable for now
name: 'PyPI wheels for Windows/x64'
runs-on: windows-latest
strategy:
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ def run(self):
['-o']["openql/*:debug_symbols=False"]
# Unitary decomposition can be disabled using an environment variable
['-o']['openql/*:disable_unitary=' + disable_unitary]
['-o']['openql/*:python_dir=' + re.escape(os.path.dirname(target))]
['-o']['openql/*:python_ext=' + re.escape(os.path.basename(target))]
['-o']['openql/*:python_dir=' + os.path.dirname(target)]
['-o']['openql/*:python_ext=' + os.path.basename(target)]
# (Ab)use static libs for the intermediate libraries
# to avoid dealing with R(UN)PATH nonsense on Linux/OSX as much as possible
['-o']["openql/*:shared=False"]
Expand Down

0 comments on commit 9f7ea83

Please sign in to comment.