Package: python-f2py
Version: 2.45.241+1926-5

As an example, the header file Python.h is required for f2py to process the 
hello world program found at: http://cens.ioc.ee/projects/f2py2e/#usage . 

Python.h lives in the python-dev package.

Because f2py is a source code transformation program that takes a FORTRAN 
*source code* and transforms it into a loadable python module. In order to 
accomplish that, it needs access to the Python.h file, contained in the 
python-dev package at runtime for f2py  so "depends" is needed (the current 
build-depends is insufficient).

A simple test case is Fortran source code as the hello.f source code found at 
the the link above. To reproduce, de-install python-devand try to compile the 
6 line "hello.f" program (reproduced here for convenience):

<code-snippet>
C File hello.f
      subroutine foo (a)
      integer a
      print*, "Hello from Fortran!"
      print*, "a=",a
      end
</code-snippet>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to