cleemesser / python-edf

source for python-edf project provides package of edflib to read European Data Format EEGs
2 stars 3 forks source link

bug in compilation with pip install #5

Open simondub opened 1 month ago

simondub commented 1 month ago

on a system having numpy<2 installed, the command pip install . fails.

This is because there is conflicting information between pip (pyprojects.toml) and setup.py.

With pip>24.1.2, the command pip install . will install numpy>2 and the setup.py will use the local version numpy<2. The conflicting version of numpy will create an error.

The solution os probably to migrate the project totally to pip. https://packaging.python.org/en/latest/guides/modernize-setup-py-project/

cleemesser commented 1 month ago

Thanks for the alert. It does look like the packaging needs some love. I should get to this sometime, as I cycle through code maintenance. I am focused on another EEG related project at the moment. I would also accept pull requests.