insarlab / PySolid

A Python wrapper for solid Earth tides
GNU General Public License v3.0
62 stars 7 forks source link

python setup.py build to compile Fortran code #9

Closed yunjunz closed 2 years ago

yunjunz commented 3 years ago

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!