pressel / pycles

A python based infrastructure for cloud large eddy simulation.
GNU General Public License v3.0
92 stars 69 forks source link

setup.py changes to be compatible with Homebrew #32

Closed jamesp closed 6 years ago

jamesp commented 7 years ago

I've just successfully compiled pycles using Homebrew software; it's running now, I'm looking forward to seeing some results from the model test cases!

On all systems that I use, the netcdf binaries come with a program nc-config which will return the location of the include and prefix directories. I've added a call to this function in setup.py so that the setup routine should be agnostic to MacPorts or Homebrew, but I don't have Macports to check it includes the nc-config command.

Also a small bug fix for Python 3 - there was a print statement without brackets.

Also documented my installation using Homebrew in install.rst.

pressel commented 6 years ago

Thanks for this contribution, and sorry for the delay in accepting your pull request!

jamesp commented 6 years ago

No worries, hope it helps someone else get up and running