Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More details on PYTHONPATH, also added circular imports
- Loading branch information
1 parent
289d883
commit 22cabf0
Showing
4 changed files
with
71 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
from mysubpackage1 import mysubpackage1module | ||
from mysubpackage2 import mysubpackage2module | ||
from mypackage.mysubpackage1 import mysubpackage1module | ||
from mypackage.mysubpackage2 import mysubpackage2module |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
from mysubpackage1 import mysubpackage1module | ||
from mypackage.mysubpackage1 import mysubpackage1module | ||
# Calling something from mysubpackage1 in mysubpackage2 | ||
mysubpackage1module.test("got it") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from mypackage import mypackagemodule |