[Distutils] setuptools problem with --tag-svn-revision and localized svn messages
Christopher Lenz
cmlenz at gmx.de
Thu Aug 18 18:50:15 CEST 2005
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/
More information about the Distutils-SIG
mailing list