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
What's the problem this feature will solve?
Currently, pip install . command cannnot handle the relative path from Cargo.toml which is used in setup-tools-rust. Because installing from pip requires to copy the whole package to temporary directory and it breaks relative path link.
Installing the package through python setup.py install works completely. But trying to work with poetry requires to use pip. So I need some way to cope with the problem.
What's the problem this feature will solve?
Currently,
pip install .
command cannnot handle the relative path fromCargo.toml
which is used insetup-tools-rust
. Because installing frompip
requires to copy the whole package to temporary directory and it breaks relative path link.Installing the package through
python setup.py install
works completely. But trying to work with poetry requires to use pip. So I need some way to cope with the problem.This issue might be related to PyO3/maturin#330.
Describe the solution you'd like
Want an option to use the original directory to install a python package not to use a temporary directory.
Alternative Solutions
Maybe an option to set current path to install package. But current
--root
option does not work.Additional context
I modified the function
_prepare_linked_requirement
inpip/_internal/operations/prepare.py
and the install was completed.The text was updated successfully, but these errors were encountered: