On 2 September 2015 at 22:45, Ben Finney <[email protected]> wrote: > Robert Collins <[email protected]> writes: > >> That private directory must be on the python search path when running >> the application (or the modules can't be imported). > > Not at all. The application's private modules are imported only via > relative imports.
Relative imports still consult the various python module search mechanisms, which is the top level path, + per package paths (but to import the highest of those packages you have to import the first member from the root... which is on the top level path). -Rob -- Robert Collins <[email protected]> Distinguished Technologist HP Converged Cloud

