Pip is happy without the oslo/__init__.py due to this magic:
<oslo.config> jkoelker@null 0p2 ~/.virtualenvs/oslo.config/lib/python2.7/site-packages$ cat oslo_config-2013.1.a2.g394876f-py2.7-nspkg.pth
import sys,types,os; p = os.path.join(sys._getframe(1).f_locals['sitedir'], *('oslo',)); ie = os.path.exists(os.path.join(p,'__init__.py')); m = not ie and s
ys.modules.setdefault('oslo',types.ModuleType('oslo')); mp = (m or []) and m.__dict__.setdefault('__path__',[]); (p not in mp) and mp.append(p)
Pip is happy without the oslo/__init__.py due to this magic:
<oslo.config> jkoelker@null 0p2 ~/.virtualenvs/ oslo.config/ lib/python2. 7/site- packages$ cat oslo_config- 2013.1. a2.g394876f- py2.7-nspkg. pth join(sys. _getframe( 1).f_locals[ 'sitedir' ], *('oslo',)); ie = os.path. exists( os.path. join(p, '__init_ _.py')) ; m = not ie and s setdefault( 'oslo', types.ModuleTyp e('oslo' )); mp = (m or []) and m.__dict_ _.setdefault( '__path_ _',[]); (p not in mp) and mp.append(p)
import sys,types,os; p = os.path.
ys.modules.