What is the difference between an ‘sdist’ .tar.gz distribution and an python egg?
setup.py sdist creates a source distribution: it contains setup.py, the source files of your module/script (.py files or .c/.cpp for binary modules), your data files, etc. The result is an archive that can then be used to recompile everything on any platform. setup.py bdist (and bdist_*) creates a built distribution: it includes .pyc files, .so/.dll/.dylib … Read more