[Distutils] Putting egg-info under version control

Phillip J. Eby pje at telecommunity.com
Mon Feb 25 02:16:42 CET 2008


At 05:59 PM 2/24/2008 -0500, Tres Seaver wrote:
>IMNSHO, anything in the .egg-info directory should be considered a
>derived file, and therefore NOT placed under version control (we don't
>check in .o / .so / .dll files either).  If some tool can't recreate the
>files it needs on demand in that directory, that would be a bug in that
>tool (or perhaps the mode in which it is invoked).

Your NSHO is incorrect for many projects.  Setuptools itself has some 
.egg-info files under revision control, for example, because they are 
needed to bootstrap setuptools itself.  Other projects have metadata 
whose official source is under .egg-info.  The EggTranslations 
library used by Chandler, for example, puts i18n/l10n resource files 
under .egg-info, and as such they are tracked by revision control.



More information about the Distutils-SIG mailing list