[Distutils] egg-info & develop

Andrea Crotti andrea.crotti.0 at gmail.com
Fri Apr 13 11:50:55 CEST 2012


I'm trying to understand exactly when running python setup.py develop is
necessary to make sure that everything will work as expected.

After some thinking I came to the conclusion that all the information
that should be kept up-to-date is in the .egg-info directory. So if I
understood correctly means that I only need to run "develop" once and
"egg_info" every time I need to update.

And as a related topic we would really like to avoid cluttering the
directories with these egg-info directories, and with my script I know
write them in another known directory.

But what happens if pkg_resources or similar try to use these
information and don't find the egg-info because it's not where it's
supposed to be?

Thanks,
Andrea


More information about the Distutils-SIG mailing list