Keywords: gildas-python

Next: What's new? Up: Python 3K Previous: Developers using the Python Contents Index

## Developers of Fortran GILDAS packages

As a pure Gildas developer (Fortran), the Gildas-Python binding offers to you the possibility to make your library importable from Python. This is done with the rule `IMPORT_FROM_PYTHON = yes` in the Makefile. Say, if your package is named foo, you should be aware that:

- the Python binary module pyfoo.so is not anymore a symbolic link to libfoo.so. Since symbolic links are not portable, the module pyfoo.so has been made a real binary file.
- the file foo-pyimport.c (which provides the Python entry points) should not be compiled anymore into the Gildas library libfoo.so. It is now the responsibility of Python to compile it implicitly and to put it in the binary module pyfoo.so.