mechmotum / cyipopt

Cython interface for the interior point optimzer IPOPT
Eclipse Public License 2.0
231 stars 54 forks source link

When installing on Windows without the Ipopt dir env var set, it does not look for the files adjacent to setup.py #221

Closed moorepants closed 1 year ago

moorepants commented 1 year ago

At some point we disabled the appveyor windows CI run that would download an official Ipopt windows release and test building against that. In our documentation it implies that you can take the contents of that Ipopt zip file and place them adjacent to the setup.py file and they'd get picked up.

https://cyipopt.readthedocs.io/en/stable/install.html#from-source-on-windows says: "After Ipopt is extracted, the bin, lib and include folders should be in the root cyipopt directory, i.e. adjacent to the setup.py file." but it seems like we removed the support for this and it isn't present here:

https://github.com/mechmotum/cyipopt/blob/master/setup.py#L187

Fixing this will fix #195 and maybe it is the same issue as #217.

moorepants commented 1 year ago

Fixed in #220