Using a local python package in pip_parse() #1419
adityapande-1995
started this conversation in
General
Replies: 3 comments 7 replies
|
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. |
0 replies
|
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 |
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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 :)
All reactions