MyTetra Share
Делитесь знаниями!
PyInstaller - Quickstart
Время создания: 31.07.2018 09:04
Текстовые метки: python pyinstaller
Раздел: Python - Pyinstaller
Запись: Velonski/mytetra-database/master/base/15330098675jyjrg1utl/text.html на raw.githubusercontent.com

PyInstaller is a program that freezes (packages) Python programs into stand-alone executables, under Windows, Linux, Mac OS X, FreeBSD, Solaris and AIX. Its main advantages over similar tools are that PyInstaller works with Python 2.7 and 3.3—3.6, it builds smaller executables thanks to transparent compression, it is fully multi-platform, and use the OS support to load the dynamic libraries, thus ensuring full compatibility.


The main goal of PyInstaller is to be compatible with 3rd-party packages out-of-the-box. This means that, with PyInstaller, all the required tricks to make external packages work are already integrated within PyInstaller itself so that there is no user intervention required. You’ll never be required to look for tricks in wikis and apply custom modification to your files or your setup scripts. As an example, libraries like PyQt, Django or matplotlib are fully supported, without having to handle plugins or external data files manually. Check our compatibility list of Supported Packages for details.


Feel free to join us in the effort! Please consult our Roadmap to check our plans. Also usage reports are welcomed: let us know if PyInstaller works for you and how, or what problems you found in using it.


Check our list of Projects using PyInstaller.


PyInstaller Quickstart


Install PyInstaller from PyPI:


pip install pyinstaller


Go to your program’s directory and run:


pyinstaller yourprogram.py


This will generate the bundle in a subdirectory called dist.


For a more detailed walkthrough, see the manual.

 
MyTetra Share v.0.65
Яндекс индекс цитирования