Closed fhs closed 4 years ago
Great, its works perfectly now.
pip install git+https://github.com/fhs/pyhdf@pep518#egg=pyhdf DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Collecting pyhdf Cloning https://github.com/fhs/pyhdf (to revision pep518) to ./pip-install-Ijpglc/pyhdf Running command git clone -q https://github.com/fhs/pyhdf /tmp/pip-install-Ijpglc/pyhdf Running command git checkout -b pep518 --track origin/pep518 Basculement sur la nouvelle branche 'pep518' La branche 'pep518' est paramétrée pour suivre la branche distante 'pep518' depuis 'origin'. Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... done Building wheels for collected packages: pyhdf Building wheel for pyhdf (PEP 517) ... done Created wheel for pyhdf: filename=pyhdf-0.10.1-cp27-cp27mu-linux_x86_64.whl size=255491 sha256=54d9e699ad208e93698b2c4d0f4b2f4d4324fc2bc32d4710c1b9ec7002b92c29 Stored in directory: /tmp/pip-ephem-wheel-cache-SM5Ofw/wheels/b3/b9/4c/c16c2fb441713aabf531db24e828ec7cb89fa855273a0e0b46 Successfully built pyhdf Installing collected packages: pyhdf Successfully installed pyhdf-0.10.1
@savmickael Thanks for confirming.
This file is specified in PEP 518. It describes build dependencies for
pip
. Pyhdf is a bit unusual in that it importsnumpy
insetup.py
, so we need to tellpip
about this extra build dependency.Fixes #37