insarlab / PySolid

A Python wrapper for solid Earth tides

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

python setup.py build to compile Fortran code

yunjunz opened this issue · comments

We need to add the compilation process into the setup.py so that one could run the following, as an alternative to run f2py and set PYTHONPATH.

cd ~/tools/PySolid
python setup.py build
python setup.py install

Relevant question on StackOverflow: https://stackoverflow.com/questions/14805236/translate-f2py-compile-steps-into-setup-py.

Contributions are welcomed!