You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have an src directory which contains all of our main python packages. It doesn't seem like there is a good way to add src globally to the PYTHONPATH in order to import src/company as from company import module.
Describe the feature
I would like some mechanism to add src to the PYTHONPATH. I tried to set the imports attribute in py_binary etc., but this seems to only support relative paths.
The text was updated successfully, but these errors were encountered:
What is the current behavior?
We have an
src
directory which contains all of our main python packages. It doesn't seem like there is a good way to addsrc
globally to the PYTHONPATH in order to importsrc/company
asfrom company import module
.Describe the feature
I would like some mechanism to add
src
to the PYTHONPATH. I tried to set theimports
attribute inpy_binary
etc., but this seems to only support relative paths.The text was updated successfully, but these errors were encountered: