Last active
February 7, 2017 15:41
-
-
Save dyashkir/1c9fb8f6102cf2302f16223685b138bd to your computer and use it in GitHub Desktop.
Python executable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Correct version of pip | |
curl -O https://bootstrap.pypa.io/get-pip.py | |
sudo python3.5 get-pip.py | |
OSX executable | |
pip install -U py2app | |
py2applet --make-setup <application name>.py | |
python3 setup.py py2app | |
./dist/<application name>.app/Contents/MacOS/<application name> | |
Windows | |
pip3.5 install -U py2exe | |
setup_win.py: | |
from distutils.core import setup | |
import py2exe | |
setup(console=['test.py']) | |
python3.5 setup_win.py py2exe | |
Bundling the C runtime DLL | |
see http://www.py2exe.org/index.cgi/Tutorial#Step521 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment