Using a local python package in pip_parse() #1419
Replies: 3 comments 1 reply
-
/cc @rickeylev |
Beta Was this translation helpful? Give feedback.
-
pip parse doesn't really support local packages. It's not really needed -- just depend on the targets directly instead of going through packaging step. |
Beta Was this translation helpful? Give feedback.
-
My apologies for not clarifying this in the original question. My package/target contains an
I might be wrong here, but the way to get this entry point registered and trigger setuptools is by doing a |
Beta Was this translation helpful? Give feedback.
-
Is it possible to use a local python package in a pip_parse() rule ?
My workspace is structured as follows :
The workspace file contains the pip_parse() rule, and is used as a dependency to app.py in BUILD.bzl, using the
requirement('my_custom_python_package')
macro.I keep getting an error saying
The repository '@pip_deps_my_custom_python_package' could not be resolved: Repository '@pip_deps_my_custom_python_package' is not defined and referenced by '//:my_app'
Is there a correct guide on how to use a local package using pip parse ? I'd be great to have an example to show that. Any help would be appreciated :)
Beta Was this translation helpful? Give feedback.
All reactions