Skip to content

Instantly share code, notes, and snippets.

@sulram
Last active August 29, 2015 14:11
Python Tips

create setup file (once)

$ py2applet --make-setup MyApplication.py
Wrote setup.py

create/update app

$ python3 setup.py py2app
pyvenv-3.4 --without-pip venvdir
source venvdir/bin/activate
curl https://bootstrap.pypa.io/get-pip.py | python
deactivate
source venvdir/bin/activate
$ virtualenv env
$ source ./env/bin/activate
(env) $ pip install tweepy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment