Just tried to install exscript in my ubuntu 10.10 and got an error when running 'exscript' from master branch. I was able to run it checking v2.0 tag out.
When installing from master branch:
".... (output of 'sudo make install') ....
Processing dependencies for Exscript==v2.0.373-g27951ca
Finished processing dependencies for Exscript==v2.0.373-g27951ca
Version is DEVELOPMENT
Os arquivos /tmp/fileL6rcPh e src/Exscript/version.py são diferentes
(^^ that's portuguese, it says they are different)
Version file updated.
Traceback (most recent call last):
File "/usr/local/bin/exscript", line 4, in <module>
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2671, in <module>
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 654, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 552, in resolve
Seems to me that exscript should be installed to /usr/local/lib/python2.6 instead of /usr/local/lib/python. Tried to move it manually, but it the same happens. Maybe I'm lacking some python distutils voodo.
Then I tried installing v2.0 with git checkout v2.0 and the instructions at
It worked. In this case "sudo make install" put the files in
So it gives the impression that some distutils-related "where-should-i-put-this?" code was fine in v2.0 and is broken now.
I'm glad to help with any testing/tweaking necessary.
Thanks for the bug report. I have a fix ready locally (SHA: 04a2b6d) and will push it soon. As a workaround, the following command should work:
make install SITE_DIR=/usr/local/lib/python2.6/dist-packages/