ali5h / rules_pip

pip package rules for bazel that are fast (incremental fetch), support different python versions and work with all kinds of packages (i.e. packages with namespaces)
MIT License
60 stars 24 forks source link

Feature request: allow custom prepending to repo name #38

Closed sohaibiftikhar closed 4 years ago

sohaibiftikhar commented 4 years ago

Some python packages look for rather hard coded strings for search if a package is a pip module: https://github.com/uqfoundation/dill/blob/master/dill/_dill.py#L1308

Currently the name of the repository is created like this: https://github.com/ali5h/rules_pip/blob/master/src/piptool.py#L75

It would be nice if this could be made customizable with the default as pypi but allowing other strings while calling pip_import.