Commit Graph

143 Commits

Author SHA1 Message Date
Tiago Quintino 563d384cca Rename the CMake target to avoid clashes inside bundles 2016-09-28 12:29:34 +01:00
Shahram Najm c3af7e550a ECC-320: bufr_dump -Dpython 2016-09-14 11:54:57 +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
Florian Rathgeber dc087a955e ECC-296 Use runtime_library_dirs 2016-09-07 12:52:24 +01:00
Florian Rathgeber de82e9c001 ECC-296 Python extension module needs no 3rd party library includes 2016-09-07 12:50:49 +01:00
Florian Rathgeber 354d7bad48 ECC-296 Python extension module only links 3rd party libs for static builds 2016-09-07 12:42:33 +01:00
Florian Rathgeber f1421ad0ed ECC-296 Respect INSTALL_LIB_DIR when setting RPATH for Python extension module 2016-09-05 18:19:06 +01:00
Shahram Najm 464052db63 ECC-200: Python links to confluence 2016-08-25 18:25:36 +01:00
Shahram Najm 5aeaf8a48b Update comments/doxygen docs 2016-08-17 14:47:02 +01:00
Shahram Najm 44ba4e8b9a Fix compiler warnings [-Wstrict-prototypes] 2016-08-05 12:57:56 +01:00
Shahram Najm 125153cb03 Remove warning re errno 2016-08-04 16:43:24 +01:00
Shahram Najm ea426385a9 Clean up 2016-08-03 14:38:46 +01:00
Shahram Najm 913d16629b Fix warning re off_t and size_t in Python wrapper 2016-08-03 14:09:57 +01:00
Shahram Najm 465d4f177c ECC-310: Clean up 2016-08-02 18:07:03 +01:00
Shahram Najm 4b292539a1 ECC-310: Fix codes_set_array to detect type 2016-08-02 17:58:15 +01:00
Shahram Najm a4dfb57b48 ECC-310: Python codes_set_array with strings (Part 01) 2016-08-02 17:21:56 +01:00
Shahram Najm 1d45d20c93 ECC-293: bufr_dump -Epython (Part 04). Added test 2016-08-02 11:42:55 +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 bfdead0f04 ECC-204 Remove obsolete SWIG interface files 2016-07-28 23:33:58 +01:00
Florian Rathgeber 35d0d21e8e ECC-204 Fix docstrings of gribapi Python module (Numpy is required) 2016-07-28 23:23:15 +01:00
Florian Rathgeber f7cc95593f Python: PEP8 2016-07-28 23:08:46 +01:00
Florian Rathgeber 12ee683645 ECC-204 Remove with_numpy checks from gribapi module 2016-07-28 23:01:41 +01:00
Shahram Najm c8311f8eb6 Do not need the OPENJPEG library in python 2016-07-25 15:58:50 +01:00
Shahram Najm 608bce2447 Remove redundant NUMPY macro 2016-07-21 18:13:01 +01:00
Shahram Najm f53e92a346 Merge branch 'develop' of ssh://software.ecmwf.int:7999/eccodes/eccodes into develop 2016-07-21 18:01:59 +01:00
Florian Rathgeber 16920ed704 ECC-204 Remove NUMPY ifdef from SWIG interface file 2016-07-21 17:49:22 +01:00
Shahram Najm 10d059a5b1 New error codes 2016-07-21 17:24:08 +01:00
Florian Rathgeber f4a7bac2e6 ECC-296 Respect DESTDIR when installing Python bindings 2016-07-19 09:02:28 +01:00
Shahram Najm c544f1c5e8 ECC-296: Python array no longer supported 2016-07-18 17:50:54 +01:00
Shahram Najm 9fa06f96f0 ECC-296: Create Python symlinks 2016-07-18 17:47:15 +01:00
Shahram Najm 5f74e56c31 ECC-296: Update egg info 2016-07-18 17:06:07 +01:00
Shahram Najm 6710163879 ECC-296: Use Python distutils to install Python modules 2016-07-18 16:35:25 +01:00
Shahram Najm 4f3fe1b785 Python setup: remove unnecessary libraries 2016-07-18 14:58:38 +01:00
Florian Rathgeber 109a724384 ECC-204 Python: remove obsolete swig_wrap_array.{c,py} 2016-07-14 08:48:22 +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 cad2ea0b4a ECC-296 Clean up setup.py 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 e9e7c03cd6 ECC-200: Improve Python docs 2016-07-13 17:20:51 +01:00
Shahram Najm e12a686edf ECC-200: Python docs updates 2016-07-13 13:47:21 +01:00
Shahram Najm 81b4cfb4c8 ECC-200: doxygen documentation 2016-07-11 11:37:33 +01:00
Shahram Najm 72fb322279 ECC-294: C function grib_get_data has unused argument 'size' 2016-07-06 15:10:20 +01:00
Shahram Najm 366bd1ff3d ECC-283: Add functions to Python interface 2016-06-29 16:40:28 +01:00
Shahram Najm 405c7c384e Fix python lib path in bundle 2016-06-09 16:07:01 +01:00
Shahram Najm d3342f4083 Fix python lib path in bundle 2016-06-09 15:58:51 +01:00
Shahram Najm a4acc9eae4 Make minimum Python version 2.6 to enable Python3 in future 2016-06-01 16:40:20 +01:00