Hi all
I created NumerMP package couple days ago.
For building this project as a python package, i had to use f2py in order to create signature files for fortran subroutines that contains openmp library(.pyf and .so files).
I ran commands below and got .pyf and .so files for trial fortran sources:
- python -m numpy.f2py trial_file.f90 -m module_name -h trial_file.pyf
- python -m numpy.f2py -c --f90flags=’-fopenmp’ -lgomp trial_file.pyf trial_file.f90
Then, i tested generated extension modules inside library itself and they worked correctly.
Then i built whole project and uploaded to test pypi and installed it using pip, But i got Import Error.
How can i fix this build issue?