Googling on the error supports the notion that this results from a
change specific to Cython 0.14:
http://www.mail-archive.com/cytho...@codespeak.net/msg10347.html
Here's my build log:
philip@zubr:~/Downloads/PyWavelets-0.2.0 $ python setup.py install
running install
running build
running build_py
creating build
creating build/lib.macosx-10.3-fat-2.6
creating build/lib.macosx-10.3-fat-2.6/pywt
copying pywt/__init__.py -> build/lib.macosx-10.3-fat-2.6/pywt
copying pywt/functions.py -> build/lib.macosx-10.3-fat-2.6/pywt
copying pywt/multidim.py -> build/lib.macosx-10.3-fat-2.6/pywt
copying pywt/multilevel.py -> build/lib.macosx-10.3-fat-2.6/pywt
copying pywt/numerix.py -> build/lib.macosx-10.3-fat-2.6/pywt
copying pywt/release_details.py -> build/lib.macosx-10.3-fat-2.6/pywt
copying pywt/thresholding.py -> build/lib.macosx-10.3-fat-2.6/pywt
copying pywt/wavelet_packets.py -> build/lib.macosx-10.3-fat-2.6/pywt
running build_ext
cythoning src/_pywt.pyx to src/_pywt.c
Traceback (most recent call last):
File "setup.py", line 82, in <module>
do_setup()
File "setup.py", line 78, in do_setup
**extra_kwds
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py",
line 152, in setup
dist.run_commands()
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py",
line 975, in run_commands
self.run_command(cmd)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py",
line 995, in run_command
cmd_obj.run()
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/install.py",
line 577, in run
self.run_command('build')
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/cmd.py",
line 333, in run_command
self.distribution.run_command(command)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py",
line 995, in run_command
cmd_obj.run()
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build.py",
line 134, in run
self.run_command(cmd_name)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/cmd.py",
line 333, in run_command
self.distribution.run_command(command)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py",
line 995, in run_command
cmd_obj.run()
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Cython/Distutils/build_ext.py",
line 134, in run
_build_ext.build_ext.run(self)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build_ext.py",
line 340, in run
self.build_extensions()
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Cython/Distutils/build_ext.py",
line 141, in build_extensions
ext.sources = self.cython_sources(ext.sources, ext)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Cython/Distutils/build_ext.py",
line 279, in cython_sources
full_module_name=module_name)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Cython/Compiler/Main.py",
line 763, in compile
return compile_single(source, options, full_module_name)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Cython/Compiler/Main.py",
line 709, in compile_single
return run_pipeline(source, options, full_module_name)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Cython/Compiler/Main.py",
line 601, in run_pipeline
err, enddata = context.run_pipeline(pipeline, source)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Cython/Compiler/Main.py",
line 240, in run_pipeline
data = phase(data)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Cython/Compiler/ParseTreeTransforms.py",
line 1025, in __call__
return super(AnalyseDeclarationsTransform, self).__call__(root)
File "Visitor.py", line 272, in
Cython.Compiler.Visitor.CythonTransform.__call__
(/Users/me/Downloads/Cython-0.14/Cython/Compiler/Visitor.c:4936)
File "Visitor.py", line 255, in
Cython.Compiler.Visitor.VisitorTransform.__call__
(/Users/me/Downloads/Cython-0.14/Cython/Compiler/Visitor.c:4696)
File "Visitor.py", line 163, in
Cython.Compiler.Visitor.TreeVisitor._visit
(/Users/me/Downloads/Cython-0.14/Cython/Compiler/Visitor.c:3254)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Cython/Compiler/ParseTreeTransforms.py",
line 1033, in visit_ModuleNode
node.analyse_declarations(self.env_stack[-1])
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Cython/Compiler/ModuleNode.py",
line 64, in analyse_declarations
self.body.analyse_declarations(env)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Cython/Compiler/Nodes.py",
line 346, in analyse_declarations
stat.analyse_declarations(env)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Cython/Compiler/Nodes.py",
line 346, in analyse_declarations
stat.analyse_declarations(env)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Cython/Compiler/Nodes.py",
line 3249, in analyse_declarations
self.body.analyse_declarations(scope)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Cython/Compiler/Nodes.py",
line 346, in analyse_declarations
stat.analyse_declarations(env)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Cython/Compiler/Nodes.py",
line 1999, in analyse_declarations
self.analyse_signature(env)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Cython/Compiler/Nodes.py",
line 2097, in analyse_signature
arg.hdr_type = sig.fixed_arg_type(i)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Cython/Compiler/TypeSlots.py",
line 100, in fixed_arg_type
return self.format_map[self.fixed_arg_format[i]]
KeyError: 'T'
Cheers
Philip