Closed GoogleCodeExporter closed 9 years ago
Thanks for reporting this issue. I am afraid this is a bug in the interaction
of setuptools and pycryptopp. To work around the problem, you can either
install the pycryptopp ubuntu package, or manually install setuptools-darcs
from PyPi before installing S3QL.
Please send a mail to the mailing list if you need further help with this.
Original comment by Nikolaus@rath.org
on 23 Aug 2010 at 4:13
Original comment by Nikolaus@rath.org
on 31 Aug 2010 at 3:22
Could you please tell me what
python -c 'import pkg_resources;print pkg_resources.require("setuptools")'
prints on the problematic system?
Thanks!
Original comment by Nikolaus@rath.org
on 3 Sep 2010 at 12:18
$ python -c 'import pkg_resources;print pkg_resources.require("setuptools")'
[distribute 0.6.10 (/usr/lib/python2.6/dist-packages)]
$
And BTW I have python-pycryptopp installed but that does not appear to help.
Thanks
Original comment by sdoyon...@gmail.com
on 8 Sep 2010 at 1:49
I have now reported this as a bug against pycryptopp at
http://tahoe-lafs.org/trac/pycryptopp/ticket/51. It would be great if you could
respond there, but if you do not want to register just for that bug then I'm
happy to forward your answers from here as well.
Here are the questions:
- Could you tell me which version of pycryptopp you have installed?
- Did you install from the Debian package or manually?
- Could you provide the output of setup.py again? If you run it now, it should try to install pycryptopp 0.5.19 instead of 0.5.17 as in the above output.
Thanks!
Original comment by Nikolaus@rath.org
on 8 Sep 2010 at 12:04
> I have now reported this as a bug against pycryptopp.
Thanks for working on this.
> then I'm happy to forward your answers from here as well.
Please
> - Could you tell me which version of pycryptopp you have installed?
0.5.17-1
> - Did you install from the Debian package or manually?
Debian package with apt-get install.
> - Could you provide the output of setup.py again? If you run it now, it
> should try to install pycryptopp 0.5.19 instead of 0.5.17 as in the above
> output.
Um... it still says "Searching for pycryptopp==0.5.17"
... "Best match: pycryptopp 0.5.17"
and finishes with "ImportError: No module named darcsver.setuptools_command".
But I don't seem to see what change you made to have it look for
0.5.19. Or should it just prefer the latest? I don't know how it
chooses the "Best match".
So I'm not actually familiar with writing setup.py but... at a guess I tried:
--- setup.py.orig 2010-09-09 00:26:31.161559343 -0400
+++ setup.py 2010-09-09 00:26:55.525558336 -0400
@@ -109,7 +109,7 @@
]
},
install_requires=['apsw >= 3.7.0',
- 'pycryptopp',
+ 'pycryptopp >= 0.5.19',
'argparse',
'pyliblzma >= 0.5.3' ],
tests_require=['apsw >= 3.7.0', 'unittest2',
and that worked!
"Searching for pycryptopp>=0.5.19"
...
"Best match: pycryptopp 0.5.19"
It proceeded to compile something for a while and completed
installation successfully.
Let me know if you need more info or full output of the build.
Original comment by sdoyon...@gmail.com
on 9 Sep 2010 at 4:38
Original issue reported on code.google.com by
sdoyon...@gmail.com
on 22 Aug 2010 at 5:41