Commit Graph

51 Commits

Author SHA1 Message Date
Shahram Najm 4f1b1a6436 ECC-1157: Python 2 support: Rename CMake option ENABLE_PYTHON to ENABLE_PYTHON2 2020-10-15 17:08:25 +01:00
Shahram Najm 951e4f1978 ECC-1143: Python2 install broken for lib64 2020-09-11 12:36:29 +01:00
Shahram Najm 0a874742a4 CMake style 2020-03-30 14:07:31 +01:00
Florian Rathgeber 06546cc61c ECC-494 Python: output commands before running them 2017-06-15 13:54:09 +01:00
Florian Rathgeber 4e9c043c1e ECC-494 Python: respect custom INSTALL_LIB_DIR 2017-06-15 13:36:32 +01:00
Florian Rathgeber 37b35fd43a ECC-494 Python: fix check for DESTDIR when installing 2017-06-15 13:34:26 +01:00
Florian Rathgeber c2fcbb5624 ECC-296 ECBUILD-330 python: write install manifest to extra_install.txt 2017-03-30 18:27:18 +01:00
Shahram Najm b21b94a969 REVERT a5d3b5b: python installation broken! 2017-02-14 17:21:02 +00:00
Florian Rathgeber a5d3b5b61b ECC-106 Respect INSTALL_{BIN,DATA,INSTALL,LIB}_DIR when installing Python modules 2017-02-09 13:02:18 +00:00
Shahram Najm 9304e8e592 ECC-380: eccodes attempts to link to openjpeg 1.X library if found 2016-11-11 11:56:01 +00:00
Florian Rathgeber 3f84e10869 ECC-380 Do not link OpenJPEG in Python extension module 2016-11-10 18:40:29 +00:00
Florian Rathgeber a8c8858a10 ECC-296 Use DESTDIR as --root when installing Python bindings 2016-10-28 13:20:56 +01:00
Florian Rathgeber f7eefee4fc ECC-296 Respect DESTDIR when installing Python bindings 2016-10-27 15:10:42 +01:00
Tiago Quintino 563d384cca Rename the CMake target to avoid clashes inside bundles 2016-09-28 12:29:34 +01:00
Florian Rathgeber 0052b7b682 ECC-296 Build extension module and install as separate execute_process 2016-09-09 17:47:28 +01:00
Florian Rathgeber 2e7b10fb12 ECC-296 Python: fix target location for extension module 2016-09-09 17:12:50 +01:00
Florian Rathgeber 4745135fc1 ECC-296 Python: do not prepend DESTDIR to install RPATH 2016-09-09 17:11:46 +01:00
Florian Rathgeber fc4e391a1c ECC-296 Set AEC_DIR if AEC was found 2016-09-07 13:19:28 +01:00
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