On 2 September 2015 at 22:45, Ben Finney <ben+deb...@benfinney.id.au> wrote: > Robert Collins <robe...@robertcollins.net> 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 <rbtcoll...@hp.com> Distinguished Technologist HP Converged Cloud