Without __init__.py file, when using setup.py, setuptools' find_package() function does not find the files in sdram/phy package. Hence .egg file entirely misses sdram/phy directory More info here: https://bitbucket.org/pypa/setuptools/issues/97