- pyinstaller [options] script [script ...] | specfile
PyInstaller is a module used to bundle python apps in a single package along with all the dependencies. The user can then run the package app without a python interpreter or any modules. It correctly bundles many major packages like numpy, Django, OpenCv and others.
Some important points to remember:
- Pyinstaller supports Python 2.7 and Python 3.3+
- Pyinstaller has been tested against Windows, Linux and Mac OS X.
- It is NOT cross compiler. (A Windows app cannot be packaged in Linux. You've to run PyInstaller in Windows to bundle an app for Windows)
Bundling to a Single File
This modified text is an extract of the original Stack Overflow Documentation created by following contributors
and released under CC BY-SA 3.0