Commit Graph

33 Commits

Author SHA1 Message Date
Florian Rathgeber 08ef88949d ECC-296 Explicitly call build_ext with the install RPATH 2016-09-07 12:57:10 +01:00
Shahram Najm 72f2078254 Python does not need libs. OpenJPEG fix for static libs 2016-07-29 18:03:54 +01:00
Florian Rathgeber f4a7bac2e6 ECC-296 Respect DESTDIR when installing Python bindings 2016-07-19 09:02:28 +01:00
Florian Rathgeber 95455c34a0 ECC-204 Python: remove support for deprecated array handler 2016-07-14 08:48:22 +01:00
Florian Rathgeber cc54d6810a ECC-296 Clean up python CMakeLists 2016-07-14 08:48:21 +01:00
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
Shahram Najm 405c7c384e Fix python lib path in bundle 2016-06-09 16:07:01 +01:00
Shahram Najm 735a373c44 GRIB-927 python build/install with distutils 2016-02-16 18:05:11 +00:00
Shahram Najm d174d6a24b ECC-154: Install python module correctly 2015-10-27 16:28:10 +00:00
Shahram Najm 2e074dcda2 Remove unnecessary search for Python interpreter 2015-10-19 17:38:13 +01:00
Shahram Najm 8e994a3d90 CMake: no point checking for HAVE_PYTHON twice! 2015-09-29 14:40:48 +01:00
Shahram Najm 76bd03e33a CMake: fortran and examples features 2015-06-09 14:50:51 +01:00
Shahram Najm fce32129b2 ECC-106: CMake: overriding default install directories 2015-04-29 17:16:13 +01:00
Shahram Najm e1a39939da Fix for rpath in python wrapper when shared libs 2015-03-20 18:26:32 +00:00
Shahram Najm 9f243b7c4d Rebranding: python install dir 2015-02-23 10:02:31 +00:00
Shahram Najm f0ea1ec12f ECC-63: Change name of the library 2015-02-13 18:04:42 +00:00
Shahram Najm 3ad092ba09 GRIB-672 2015-01-17 23:47:40 +00:00
Shahram Najm 5566658825 ECC-11: Python interface with codes_ prefix 2015-01-13 18:34:04 +00:00
Shahram Najm 0c5347884d GRIB-672: Temporarily revert changes 2015-01-09 15:18:26 +00:00
Shahram Najm 9a8c1de576 GRIB-672: CMake: python bindings do not support numpy 2014-12-31 17:33:24 +00:00
Shahram Najm 96e93e5c50 CMake install: related to GRIB-613 2014-12-18 11:03:45 +00:00
Shahram Najm 948b2443c5 CMake: use HAVE_X not ENABLE_X to test if feature X is there 2014-10-24 13:36:19 +01:00
Shahram Najm 69585b4db8 CMake: fix how we find numpy 2014-10-23 11:23:35 +01:00
Shahram Najm b391de3a18 GRIB-613: fix python module installation path 2014-10-21 18:15:00 +01:00
Shahram Najm 20b95e6349 CMake: change to conforming options 2013-12-09 14:47:14 +00:00
Shahram Najm 239e4e0cfa Cmake: add the main grib api python file to installation 2013-11-11 16:37:53 +00:00
Shahram Najm e45107acbb Checkin from Tiago: fixes for build system 2013-09-18 08:53:52 +01:00
Shahram Najm 021857c7c0 SHA1 hash and other cleanups 2013-06-25 10:52:05 +01:00
Shahram Najm 9736050a61 Remove the eccode prefix and revert to previous gribapi. Will revisit when merging with ecCodes 2013-06-14 13:56:55 +01:00
Shahram Najm f613b8f86c CMake updates from 1.10.4 2013-04-23 10:04:23 +01:00
Shahram Najm abeb369252 Cmake merge 2013-04-10 16:46:41 +01:00
Shahram Najm 7f5d1faca2 Cmake changes 2013-04-03 11:45:13 +01:00
Tiago Quintino 33b891186d Ported grib_api 1.10.4 from p4 to git 2013-03-25 12:04:10 +00:00