[Distutils] setuptools problem with --tag-svn-revision and localized svn messages

Phillip J. Eby pje at telecommunity.com
Thu Aug 18 18:39:15 CEST 2005


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?



More information about the Distutils-SIG mailing list