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
I have a problem with imports when using an editable installation versus a normal installation (this one does not have issues).
The project has a complicated structure and uses namespace packages (keeps different subpackages in different paths, but they logically form a single package when using import in Python).
During the build, the subpackages are brought from different places together:
and after pip install ....tar.gz, everything works: I can do, e.g., from oif._impl import ....
However, to develop the package further I need an editable install, and it does not work somehow.
I also see that the installed .pth file does not help any how because it does not take into an account the restructuring of directories during the build step.
Is it a normal behavior?
The text was updated successfully, but these errors were encountered:
I have a problem with imports when using an editable installation versus a normal installation (this one does not have issues).
The project has a complicated structure and uses namespace packages (keeps different subpackages in different paths, but they logically form a single package when using
import
in Python).During the build, the subpackages are brought from different places together:
and after
pip install ....tar.gz
, everything works: I can do, e.g.,from oif._impl import ...
.However, to develop the package further I need an editable install, and it does not work somehow.
I also see that the installed
.pth
file does not help any how because it does not take into an account the restructuring of directories during the build step.Is it a normal behavior?
The text was updated successfully, but these errors were encountered: