[Distutils] How to prevent some .egg-info files being "touched" during a build/install process

Phillip J. Eby pje at telecommunity.com
Thu Apr 5 21:21:26 CEST 2007


At 03:05 PM 4/5/2007 -0400, Matt Good wrote:
>I typically add the .egg-info folder to the "ignored" files in version
>control since the files in there will be automatically regenerated by
>the build process.  Unless you have custom files that you put in
>the .egg-info folder (which I think is uncommon) you can probably just
>leave that folder out of version control too.

That's correct.  Only projects that explicitly put files under .egg-info 
need to track them in version control, because all the automatically 
generated files are regenerated from setup.py whenever any command that 
needs them is run.



More information about the Distutils-SIG mailing list