setuptools

Link f2py generated *.so file in a python package using setuptools

☆樱花仙子☆ 提交于 2020-12-11 10:08:17
问题 I wish to deploy a package to PyPi using setuptools. However, the core part of the package is actually written in Fortran, and I am using f2py to wrap it in python. Basically the project's structure looks like this: my_project license.txt README.md setup.py my_project init .py myfunc.py hello.so The module myfunc.py imports hello.so ( import my_project.hello ) which can then be used by functions inside myfunc.py. This works perfectly on my machine. Then I tried standard setuptools

Link f2py generated *.so file in a python package using setuptools

梦想与她 提交于 2020-12-11 10:03:37
问题 I wish to deploy a package to PyPi using setuptools. However, the core part of the package is actually written in Fortran, and I am using f2py to wrap it in python. Basically the project's structure looks like this: my_project license.txt README.md setup.py my_project init .py myfunc.py hello.so The module myfunc.py imports hello.so ( import my_project.hello ) which can then be used by functions inside myfunc.py. This works perfectly on my machine. Then I tried standard setuptools

Link f2py generated *.so file in a python package using setuptools

天涯浪子 提交于 2020-12-11 10:02:42
问题 I wish to deploy a package to PyPi using setuptools. However, the core part of the package is actually written in Fortran, and I am using f2py to wrap it in python. Basically the project's structure looks like this: my_project license.txt README.md setup.py my_project init .py myfunc.py hello.so The module myfunc.py imports hello.so ( import my_project.hello ) which can then be used by functions inside myfunc.py. This works perfectly on my machine. Then I tried standard setuptools