Replies: 4 comments
-
I was working on an idea as described below, but never got enough spare time to practice it. Since there are so many python distributions, and anyone could have multiple version of python installed in local, I would like to suggest to use a meta package, e.g. All we need is to let other port be able to build with proper python environment, so a dedicate script for each distribution, e.g. Well, I believe there is a more simpler way to do the trick, though. |
Beta Was this translation helpful? Give feedback.
-
This issue hasn’t been updated in a year; if it is still an issue, please reopen. |
Beta Was this translation helpful? Give feedback.
-
@NancyLi1013 all issues I found to support external Python apps (#5514, #1974) were closed and there's no viable solution anywhere that I can see. I think most packages having python(3) as dependency would benefit here. Esp boost-python currently will be compiled against whichever Python version is in How about re-opening one of these issues? |
Beta Was this translation helpful? Give feedback.
-
This is most definitely still an issue. I have to manually remove the python dependency in pybind11 to be able to link and use the system python version. I for example need to have NumPy and many other python packages installed. And I don't want to have to install all of those in the python installation inside of vcpkg. |
Beta Was this translation helpful? Give feedback.
-
Many packages provides binding for python, java, etc. How about bring binding support into vcpkg? Take python for example, built python modules can be put into
installed/<triplet>/python/<port>
folder, and onceinstalled/<triplet>/python
is added toPYTHON_PATH
, the modules are available in python. Adding toPYTHON_PATH
can be a command of vcpkg as well.Besides, I have a problem with python building. I'm trying to build
caffe
with python binding, however there's not a way to pass external python path to vcpkg. The python downloaded as a tool by vcpkg doesn't contain headers for building and thepython3
port has only python module. Python binding for caffe needs numpy. So I propose to add a option to pass external python path into vcpkg (or even for other languages).Beta Was this translation helpful? Give feedback.
All reactions