gjhiggins/rdflib — Issue #50: install via easy_install seems broken
Author: gjhiggins
Created: 2011-10-19 01:06:18+00:00
State: open

Originally filed by wjh...@gmail.com on 2009-02-25T20:36:05

What steps will reproduce the problem?
1. easy_install -U "rdflib>=2.4, <=3.0a"
2.
3.

What is the expected output? What do you see instead?
Should be installed

What version of the product are you using? On what operating system?
Latest OS X, python --version => "Python 2.5.1"

Please provide any additional information below.
Here's the output;
oki:~ wjhuie$ easy_install -U "rdflib>=2.4, <=3.0a"
Searching for rdflib>=2.4,<=3.0a
Reading http://pypi.python.org/simple/rdflib/
Reading http://rdflib.net/
Best match: rdflib 2.4.0
Downloading http://rdflib.net/rdflib-2.4.0.tar.gz
Processing rdflib-2.4.0.tar.gz
Running rdflib-2.4.0/setup.py -q bdist_egg --dist-dir
/var/folders/Ss/SsOhY420GSC3XLYfkXrvL++++TI/-Tmp-/easy_install-dXycHP/rdflib-2.4.0/egg-dist-tmp-BNHEav
warning: no files found matching 'example.py'
Traceback (most recent call last):
File "/usr/bin/easy_install", line 8, in
load_entry_point('setuptools==0.6c7', 'console_scripts', 'easy_install')()
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/setuptools/command/easy_install.py",
line 1670, in main
with_ei_usage(lambda:
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/setuptools/command/easy_install.py",
line 1659, in with_ei_usage
return f()
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/setuptools/command/easy_install.py",
line 1674, in
distclass=DistributionWithoutHelpCommands, **kw
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/core.py",
line 151, in setup
dist.run_commands()
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py",
line 974, in run_commands
self.run_command(cmd)
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py",
line 994, in run_command
cmd_obj.run()
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/setuptools/command/easy_install.py",
line 211, in run
self.easy_install(spec, not self.no_deps)
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/setuptools/command/easy_install.py",
line 446, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/setuptools/command/easy_install.py",
line 471, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/setuptools/command/easy_install.py",
line 655, in install_eggs
return self.build_and_install(setup_script, setup_base)
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/setuptools/command/easy_install.py",
line 930, in build_and_install
self.run_setup(setup_script, setup_base, args)
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/setuptools/command/easy_install.py",
line 919, in run_setup
run_setup(setup_script, args)
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/setuptools/sandbox.py",
line 27, in run_setup
lambda: execfile(
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/setuptools/sandbox.py",
line 63, in run
return func()
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/setuptools/sandbox.py",
line 29, in
{'__file__':setup_script, '__name__':'__main__'}
File "setup.py", line 56, in
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/core.py",
line 151, in setup
dist.run_commands()
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py",
line 974, in run_commands
self.run_command(cmd)
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py",
line 994, in run_command
cmd_obj.run()
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/setuptools/command/bdist_egg.py",
line 174, in run
cmd = self.call_command('install_lib', warn_dir=0)
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/setuptools/command/bdist_egg.py",
line 161, in call_command
self.run_command(cmdname)
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/cmd.py",
line 333, in run_command
self.distribution.run_command(command)
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py",
line 994, in run_command
cmd_obj.run()
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/setuptools/command/install_lib.py",
line 20, in run
self.build()
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/command/install_lib.py",
line 112, in build
self.run_command('build_ext')
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/cmd.py",
line 333, in run_command
self.distribution.run_command(command)
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py",
line 994, in run_command
cmd_obj.run()
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/setuptools/command/build_ext.py",
line 46, in run
_build_ext.run(self)
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/command/build_ext.py",
line 290, in run
self.build_extensions()
File
"/Users/wjhuie/Library/Python/2.5/site-packages/Pyrex-0.9.8.5-py2.5.egg/Pyrex/Distutils/build_ext.py",
line 82, in build_extensions
self.build_extension(ext)
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/setuptools/command/build_ext.py",
line 175, in build_extension
_build_ext.build_extension(self,ext)
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/command/build_ext.py",
line 453, in build_extension
sources = self.swig_sources(sources, ext)
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/setuptools/command/build_ext.py",
line 77, in swig_sources
sources = _build_ext.swig_sources(self, sources) or sources
TypeError: swig_sources() takes exactly 3 arguments (2 given)