Allow controlling the prefix added to repos/packages (#459)
This consists of a breaking change for users who were directly depending on the prior pip_parse labels.
diff --git a/examples/pip_parse/WORKSPACE b/examples/pip_parse/WORKSPACE
index 7e47ed2..6c18864 100644
--- a/examples/pip_parse/WORKSPACE
+++ b/examples/pip_parse/WORKSPACE
@@ -34,12 +34,11 @@
# style env vars are read, but env vars that control requests and urllib3
# can be passed
# environment = {"HTTPS_PROXY": "http://my.proxy.fun/"},
-
- # Uses the default repository name "pip_parsed_deps"
+ name = "pypi",
requirements_lock = "//:requirements_lock.txt",
)
-load("@pip_parsed_deps//:requirements.bzl", "install_deps")
+load("@pypi//:requirements.bzl", "install_deps")
# Initialize repositories for all packages in requirements_lock.txt.
install_deps()