[Python-Dev] Expose Subversion revision number to Python (original) (raw)
LD 'Gus' Landis ldlandis at gmail.com
Tue Dec 20 10:00:54 CET 2005
- Previous message: [Python-Dev] Expose Subversion revision number to Python
- Next message: [Python-Dev] Expose Subversion revision number to Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] Expose Subversion revision number to Python
- Next message: [Python-Dev] Expose Subversion revision number to Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]