awiggs / chip-gr8

Chip-Gr8
http://chipgr8.io
MIT License
4 stars 1 forks source link

Get Onto Pip #60

Closed ejrbuss closed 5 years ago

ejrbuss commented 5 years ago

In order for chipgr8 to be easily installed by users it should be on pip. This is a straightforward process now that we have setup.py, however our c source will not properly build on many systems (eg. windows users who do not not have Microsoft Visual C++ compiler installed). As such we should provide pre-compiled binaries with our distribution. We need to research how this is done.

ejrbuss commented 5 years ago

For windows ci: https://ci.appveyor.com/projects/new Python only backup (potentially): http://numba.pydata.org/numba-doc/latest/index.html

ejrbuss commented 5 years ago

Investigating python backend (have a functioning port of the c code). This avoids having to build c code on different platforms, but is substantially slower (even with Numba) by about 3x (plus a heavy start up cost for the JIT). Code is on a new branch 248bb506cd70c719fc0d2562c91ba673abf1ed0a.

Will continue to investigate the CI sever.

ejrbuss commented 5 years ago

Made progress with CI server, builds are successful. Need to test if updated c code correctly exports functions for windows dll.

ejrbuss commented 5 years ago

fb8fac011cf45d70e35711c4a2ab11205ce748c6