1. 程式人生 > >pyinstaller 打包

pyinstaller 打包

mac data edi ack 6.0 read efi ... ted

[root@mhc nsf]# pip install pyinstaller
Collecting pyinstaller
Downloading PyInstaller-3.3.tar.gz (3.5MB)
100% |████████████████████████████████| 3.5MB 16kB/s
Requirement already satisfied: setuptools in /usr/lib/python2.7/site-packages (from pyinstaller)
Collecting pefile>=2017.8.1 (from pyinstaller)
Downloading pefile-2017.9.3.tar.gz (61kB)
100% |████████████████████████████████| 71kB 19kB/s
Collecting macholib>=1.8 (from pyinstaller)
Downloading macholib-1.8-py2.py3-none-any.whl
Collecting dis3 (from pyinstaller)
Downloading dis3-0.1.1-py2-none-any.whl
Collecting future (from pefile>=2017.8.1->pyinstaller)
Collecting altgraph>=0.13 (from macholib>=1.8->pyinstaller)
Downloading altgraph-0.14-py2.py3-none-any.whl
Installing collected packages: future, pefile, altgraph, macholib, dis3, pyinstaller
Running setup.py install for pefile ... done
Running setup.py install for pyinstaller ... done
Successfully installed altgraph-0.14 dis3-0.1.1 future-0.16.0 macholib-1.8 pefile-2017.9.3 pyinstaller-3.3

---------------

pyinstaller --onefile gen_consul_data_for_redis_ms.py

pyinstaller 打包