[Numpy-discussion] [PATCH] F2Py on Python 3

Charles R Harris charlesr.harris at gmail.com
Thu Sep 23 00:26:43 EDT 2010


On Wed, Sep 22, 2010 at 10:00 PM, Charles R Harris <
charlesr.harris at gmail.com> wrote:

>
>
> On Wed, Sep 22, 2010 at 9:14 PM, Fernando Perez <fperez.net at gmail.com>wrote:
>
>> On Wed, Sep 22, 2010 at 7:16 PM, Charles R Harris
>> <charlesr.harris at gmail.com> wrote:
>> >
>> > Done in  29cccb6.
>> >
>>
>> Mmh, I think it broke something:
>>
>>  File "/home/fperez/tmp/src/scipy/numpy/numpy/distutils/command/build.py",
>> line 37, in run
>>    old_build.run(self)
>>  File "/usr/lib/python2.6/distutils/command/build.py", line 135, in run
>>    self.run_command(cmd_name)
>>  File "/usr/lib/python2.6/distutils/cmd.py", line 333, in run_command
>>    self.distribution.run_command(command)
>>  File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
>>    cmd_obj.run()
>>  File
>> "/home/fperez/tmp/src/scipy/numpy/numpy/distutils/command/build_scripts.py",
>> line 39, in run
>>    self.scripts = self.generate_scripts(self.scripts)
>>  File
>> "/home/fperez/tmp/src/scipy/numpy/numpy/distutils/command/build_scripts.py",
>> line 24, in generate_scripts
>>    script = func(build_dir)
>>  File "numpy/f2py/setup.py", line 78, in generate_f2py_py
>>     '''%(os.path.basename(sys.executable)))
>> TypeError: not enough arguments for format string
>>
>> If I revert to the previous commit, it installs fine again.
>>
>>
> I wondered about that, it is probably the old `mode` vs  plain old mode. I
> had just hoped it was tested. Can you check that out?
>
>
Should be fixed in 8f6114b.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20100922/f4262d22/attachment.html>


More information about the NumPy-Discussion mailing list