-
As you can see in the screenshot, I have a dependencies folder that is used when building. When building, relative paths from the current directory are used. How do I copy the dependencies folder to a temporary folder? I do not see the corresponding placeholder for CIBW_BEFORE_BUILD. Only placeholder for package path ({package}). My folder structure for understanding:
How to get |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
My temporary solution
I think the new placeholder is a good solution to the current problem. Let me know if I should finalize my feature and create a pull request |
Beta Was this translation helpful? Give feedback.
-
I strongly suggest to move You could use in Did your code build locally with If you use environment variables in |
Beta Was this translation helpful? Give feedback.
I strongly suggest to move
setup.py
one level up or use the environment variable insidesetup.py
to identify the path to external library.You could use in
setup.py
construction likeos.environ.get("MY_LIBRARY_BASE_PATH", "..")
Did your code build locally with
pip wheel
command? I think not. If I good remember your fix works only because of the flat structure of tmp directories created by the commandpip wheel
.If you use environment variables in
setup.py
thenpackage
placeholder should be enough.