rules_python icon indicating copy to clipboard operation
rules_python copied to clipboard

Construct a PYTHONPATH string that points to a dir with packages installed by `pip_install`

Open garymm opened this issue 3 years ago • 0 comments

I am trying to build an external repo using cmake from rules_foreign_cc. That CMake build needs to have certain Python packages available to it. I'd like to install them using pip_install and then construct a PYTHONPATH variable to pass in to the cmake rule. Is this possible? Or is there an alternative way to get Python packages from pip_install available to the Python interpreter used during my cmake rule?

If not, consider this a feature request. Thanks for your consideration!

garymm avatar Mar 11 '22 00:03 garymm