Opened at 2010-04-22T20:56:55Z
Closed at 2010-06-04T06:53:51Z
#36 closed defect (fixed)
Allow pycryptopp installation from setuptools
Reported by: | Nikratio | Owned by: | zooko |
---|---|---|---|
Priority: | major | Milestone: | |
Version: | 0.5.17 | Keywords: | |
Cc: | Launchpad Bug: |
Description
Hello,
I have specified pycryptopp as an external dependency in my Python module. When pycryptopp is not yet installed, setuptools automatically downloads and (tries) to install it.
However, for some reason this does not work. Here is the output that I get:
$ ./setup.py test
running test
Searching for pycryptopp
Reading http://pypi.python.org/simple/pycryptopp/
Reading http://allmydata.org/trac/pycryptopp
Reading http://allmydata.org/source/pycryptopp
Reading http://allmydata.org/source/zfec
Best match: pycryptopp 0.5.17
Downloading http://pypi.python.org/packages/source/p/pycryptopp/pycryptopp-0.5.17.tar.gz#md5=b3d19e7203531f8bd241ae58062f99e4
Processing pycryptopp-0.5.17.tar.gz
Running pycryptopp-0.5.17/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ZMeM89/pycryptopp-0.5.17/egg-dist-tmp-BlCkIO
Traceback (most recent call last):
File "./setup.py", line 336, in <module>
main()
File "./setup.py", line 107, in main
'upload_docs': upload_docs, }
File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "build/bdist.linux-i686/egg/setuptools/command/test.py", line 111, in run
File "build/bdist.linux-i686/egg/setuptools/dist.py", line 284, in fetch_build_eggs
File "build/bdist.linux-i686/egg/pkg_resources.py", line 563, in resolve
to resolve their dependencies. error_info is a dictionary mapping
File "build/bdist.linux-i686/egg/pkg_resources.py", line 799, in best_match
File "build/bdist.linux-i686/egg/pkg_resources.py", line 811, in obtain
cache_path
File "build/bdist.linux-i686/egg/setuptools/dist.py", line 327, in fetch_build_egg
File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 446, in easy_install
File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 476, in install_item
File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 655, in install_eggs
File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 930, in build_and_install
File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 919, in run_setup
File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 62, in run_setup
File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 105, in run
File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 64, in <lambda>
File "setup.py", line 20, in <module>
TypeError?: use_setuptools() got an unexpected keyword argument 'min_version'
It would be really nice if this could be made to work.
Change History (2)
comment:1 Changed at 2010-04-22T21:06:22Z by zooko
- Owner set to zooko
- Status changed from new to assigned
comment:2 Changed at 2010-06-04T06:53:51Z by zooko
- Resolution set to fixed
- Status changed from assigned to closed
fixed by [20100604062808-92b7f-2b295c95e02dcf95bfbdcb71aad83e55271dc0e2]. Thanks for the bug report!
I'll fix this.