Closed myselfhimself closed 4 years ago
Hi, you have to install numpy first, as stated in the README :)
Hello, I am myself a python package developer and have managed to spare people from installing such dependencies manually... something is possibly not set properly in the setup.py... I could come with a PR in the coming months...
Sorry for the disturbance, I have seen the required binary dependencies as well (packages). It seems that the aim of this project in terms of packaging is not to distribute binary packages, but provide a source package that needs the user to install other things first. This is all OK. Other Python modules do manage their dependencies themselves (eg. numpy itself, scipy.. all packages that have also auditwheel repair working to embed .so files), but on the one hand this requires a lot of work. It seems out of roadmap for this module and I understand it and will not bother more
You don't bother, no worries :)
The issue here is numpy has to be installed get its include dir and build the C extensions: https://github.com/flupke/pypotrace/blob/76c76be2458eb2b56fcbd3bec79b1b4077e35d9e/setup.cfg#L38
So, numpy has to be installed before running the setup. You normally do that by adding it to setup_requires
, but IIRC this did not work last time I tried.
Please give it a shot if you have time, it would be nice to have the install work without manual intervention.
Example code on Linux showing that numpy is not auto-installed... Maybe the numpy requirements is either not yet on pypi.org or not written in the proper file for pip to go and grab it: