fhs / pyhdf

Python wrapper around the NCSA HDF version 4 library
https://pypi.org/project/pyhdf/
Other
46 stars 15 forks source link

pyproject.toml: add file that describes build dependencies #38

Closed fhs closed 4 years ago

fhs commented 4 years ago

This file is specified in PEP 518. It describes build dependencies for pip. Pyhdf is a bit unusual in that it imports numpy in setup.py, so we need to tell pip about this extra build dependency.

Fixes #37

savmickael commented 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

fhs commented 4 years ago

@savmickael Thanks for confirming.