Pearu Peterson
Pearu Peterson
The plans look very good. Let me know if you need particular actions on my part.
I have set up CI on Travis and Appveyour, not on Circle CI for MacOS as it is not free.
The solution is provided in https://sysbio.ioc.ee/projects/f2py2e/FAQ.html#q-what-if-fortran-90-code-uses-type-spec-kind-kind
Try create a file `/home/eogbe/Documents/solvers/hslcodes/hsl_mc79-1.1.0/src/test/newtest/.f2py_f2cmap` with the following content: `{'integer':{'userdefined':'int'}}` Btw, shouldn't `END TYPE mc79_control` be `END TYPE userdefined` ?
I used message ``` getctype: "integer(kind=myint_mc79)" is mapped to C "int" (to override define dict(integer = dict(myint_mc79="")) in /home/eogbe/Documents/solvers/hslcodes/hsl_mc79-1.1.0/src/test/newtest/.f2py_f2cmap file). ``` as a hint for the proper `.f2py_f2cmap` location. When...
The problems is in argument `control`: ``` TYPE (userdefined), INTENT (IN) :: control ``` f2py currently does not support wrapping functions with derived type arguments.
The relevant piece of documentation can be found in github history, for instance: https://github.com/numpy/numpy/blob/a859492c7b07dac0a56d9a08d6739e006a528f87/numpy/f2py/docs/FAQ.txt#L258
Thanks for the feedback! In Python 3 all string constants are unicode strings while in Python 2 string constants are byte strings. pyvtk requires proper Python 2 -> 3 transition...
@hmeine can you create PR from your repo?
I will test this after uploading a new pylibtiff release to pypi.