rules_python
rules_python copied to clipboard
Construct a PYTHONPATH string that points to a dir with packages installed by `pip_install`
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!