Since upgrading to subversion 1.7 I get “unrecognized .svn/entries format” when running buildout. I notice there is an unresolved bug reports for both distribute and setuptools for this error and it also seems that you can use setuptools_subversion to resolve the issue.
What I can’t find out how to do is install setuptools_subversion so that buildout picks it up. Please can someone help?
I’ve tried
- downloading it and running python setup.py install
- adding it to the eggs list of the [buildout] part of my buildout configuration
You need to install it at the python site-packages level; easy_install (used under the hood by buildout) needs it available before it’ll install anything else.
That said, the
python setup.py installstanza should have installed it just fine; check by running the following test:That should print the installation path of the module, like it did for me in the above example. You could try to use pip or easy_install for automatic download:
or
You can do that in a virtualenv if you want to isolate the installation. Because this is basically a dependency for svn 1.7, installing this at the same level as the svn binary (usually system wide) is certainly acceptable and the norm.
Note that the
unrecognized .svn/entries formaterror message will not disappear, but your buildout will otherwise succeed. The message is printed no matter what as easy_install first tries the internal.svnparser before deferring to the external plugin.If you really, really want to verify if the plugin is installed, run the following python code:
On my system this prints: