Commit Graph

1 Commits

Author SHA1 Message Date
Florian Rathgeber 7bf11d75e2 ECC-296 Use Python distutils to install Python modules
* Create Python modules eccodes and gribapi already in the source tree
* Copy modules to build tree, so build tree mirrors install location
* Call `python setup.py build_exit --inplace` to build extension module
  for use in build tree (using the build tree RPATH)
* Call `python setup.py install --prefix=${CMAKE_INSTALL_PREFIX}` to
  install (using the build tree RPATH)

The build tree is now a fully functioning Python package, so you can
also `pip install /path/to/eccodes/build/python`.
2016-07-14 08:48:20 +01:00
Renamed from python/init_gribapi.py (Browse further)