[Python-Dev] Expose Subversion revision number to Python
LD 'Gus' Landis
ldlandis at gmail.com
Tue Dec 20 10:00:54 CET 2005
Hi,
So, what does one get when built on a system not connected to
the net? say from a tarball? It can happen, ya know.
Cheers,
--ldl
On 12/18/05, "Martin v. Löwis" <martin at v.loewis.de> wrote:
> Barry Warsaw wrote:
> > Yes, here's my thought: I have a mod to Makefile.pre.in and
> > getbuildinfo.c so that when we don't find .svn directory, we don't
> > define the BUILD macro when we compile getbuildinfo.c. Then, in that
> > file we have something like:
> >
> > #ifndef BUILD
> > #define BUILD "$Revision$"
> > #endif
>
> What does that achieve? It will give you the latest revision at which
> getbuildinfo was changed (currently 41744).
>
> Regards,
> Martin
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/ldlandis%40gmail.com
>
--
LD Landis - N0YRQ - from the St Paul side of Minneapolis
More information about the Python-Dev
mailing list