banesullivan / scooby

🐶 🕵️ Great Dane turned Python environment detective
MIT License
47 stars 12 forks source link

Fix standard lib when frozen #52

Closed akaszynski closed 4 years ago

akaszynski commented 4 years ago

When using pyinstaller, the standard library directory is different than the one sysconfig identifies. This results in the failure to run scooby.Report.

akaszynski commented 4 years ago

@banesullivan, I need this for a few downstream projects. Please let me know if you see any issues with this. Otherwise, I'll merge, tag with a minor bump, and generate a release.

akaszynski commented 4 years ago

pyinstaller is great, especially for software adverse windows users. Basically, you can package up a python main.py and then ship an executable that contains your libraries and the python executable. It's a great way of producing a standalone app, something that we could actually apply to pyvista + pyqt to deploy a standalone viewer (though ParaView is a great app already).