geocryology / HorizonPy

Tools for generating and manipulating horizon lines and sky view factors
GNU General Public License v3.0
0 stars 1 forks source link

Convert final application to *.exe if possible #15

Open nicholas512 opened 4 years ago

nicholas512 commented 4 years ago

This might be a hurdle. Some possible resources:

https://pythonprogramming.net/converting-tkinter-to-exe-with-cx-freeze/ https://stackoverflow.com/questions/48299396/converting-tkinter-to-exe

nicholas512 commented 4 years ago

pyinstaller seems to work, but can't find geos_c.dll, so it only works if Shapely is not imported.

https://github.com/pyinstaller/pyinstaller/issues/2834

also, it can't find the horizonpy.quickhorizon module because it adds src/ to paths, so it looks in the toplevel src/horizonpy instead of src/horizonpy/horizonpy for quickhorizon. Could change the name of the top level folder

nicholas512 commented 4 years ago

Shapely is known to not work with pyinstaller: https://github.com/Toblerity/Shapely/issues/831