[Distutils] How to prevent some .egg-info files being "touched" during a build/install process
Venkat Bommakanti
venkatbo at yahoo.com
Thu Apr 5 23:28:38 CEST 2007
Thanks, Matt & Philip.
I'll get them out of source control - since those
files were deployed in the installed egg, I thought
they were needed to be under source control.
Just like one can specify temp build & dist dirs to
be used in the build/install process, is it possible
to have setuptools place these files in a user-defined
dir... that'd make it easy to implement the
"make clean" equivalent to ensure these files don't
show up as being "privtate" files in one's tree.
Thanks,
/venkat
--- "Phillip J. Eby" <pje at telecommunity.com> wrote:
> 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.
>
>
____________________________________________________________________________________
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front
More information about the Distutils-SIG
mailing list