How do I stop setup.py from installing a package as an egg? Or even better, how do I easy_install from installing a package as an egg
Years later, same problem, not satisfied with the accepted answer. Found this in Google groups:
pushd /path/to/my/package/
python setup.py sdist
popd
pip install /path/to/my/package/dist/package-1.0.tar.gz
Explanation:
python setup.py sdist creates a source distribution which naturally is not an *.egg! The resulting archive (.tar.gz in unix, .zip in windows) can be installed like any remote module with pip. It doesn't even require additional parameters! This results in the desired fully browsable module.