mrJean1 / PyGeodesy

Pure Python geodesy tools
https://mrjean1.github.io/PyGeodesy/
297 stars 58 forks source link

only check _ismodule when not frozen #32

Closed GliderGeek closed 5 years ago

GliderGeek commented 5 years ago

This pull request fixes an issue (#31 ) when pygeodesy is used inside an application that is bundled with PyInstaller. The _ismodule function expects a certain file layout which is not present when bundled with PyInstaller. PyInstaller is detected with the frozen attribute.