setuptools problem with --tag-svn-revision and localized svn messages
Hi all, I just tried to run the build of my project on a box that has localized SVN messages (German). As the tag_svn_revision option is enabled in the setup config, setuptools calls "svn info" and tries to parse the output, looking for "Last Changed Rev: (\d+)" string. In the german output this label is obviously different, so the parsing will fail and the build will abort. I can temporarily switch subversion to use English messages for the build: $ export LC_MESSAGES=en_US $ ./setup.py test But still, this should probably be fixed in setuptools. Thanks, Chris -- Christopher Lenz cmlenz at gmx.de http://www.cmlenz.net/
At 02:12 PM 8/18/2005 +0200, Christopher Lenz wrote:
Hi all,
I just tried to run the build of my project on a box that has localized SVN messages (German). As the tag_svn_revision option is enabled in the setup config, setuptools calls "svn info" and tries to parse the output, looking for "Last Changed Rev: (\d+)" string. In the german output this label is obviously different, so the parsing will fail and the build will abort.
I can temporarily switch subversion to use English messages for the build:
$ export LC_MESSAGES=en_US $ ./setup.py test
But still, this should probably be fixed in setuptools.
So, I should set LC_MESSAGES to en_US when invoking svn? Or is there something else I should be doing?
Am 18.08.2005 um 18:39 schrieb Phillip J. Eby:
At 02:12 PM 8/18/2005 +0200, Christopher Lenz wrote:
I just tried to run the build of my project on a box that has localized SVN messages (German). As the tag_svn_revision option is enabled in the setup config, setuptools calls "svn info" and tries to parse the output, looking for "Last Changed Rev: (\d+)" string. In the german output this label is obviously different, so the parsing will fail and the build will abort.
I can temporarily switch subversion to use English messages for the build:
$ export LC_MESSAGES=en_US $ ./setup.py test
But still, this should probably be fixed in setuptools.
So, I should set LC_MESSAGES to en_US when invoking svn? Or is there something else I should be doing?
Yeah, that should do the trick. Didn't find the time to attempt a patch yet, sorry. :-P Cheers, Chris -- Christopher Lenz cmlenz at gmx.de http://www.cmlenz.net/
participants (2)
-
Christopher Lenz
-
Phillip J. Eby