To run your script from the Finder you have two options:
- Drag it to PythonLauncher
- Select PythonLauncher as the default application to open your script (or any .py script) through the finder Info window and double-click it. PythonLauncher has various preferences to control how your script is launched. Option-dragging allows you to change these for one invocation, or use its Preferences menu to change things globally.
for other operating systems, it should be reasonably easy to make an icon that launches the script
this also looked like a good solution for making executables: | http://cx-freeze.sourceforge.net/
system preferences -> Dock Automatically hide and show the Dock (once you have quicksilver, dock isn't as helpful)
export LOCALPATH=/c cd $LOCALPATH/code/python/launcher sudo python setup.py develop
stopping here waiting to see what pose_local will offer (glue, pyglet)
export LOCALPATH=/c #keeping these here so they can be further developed locally cd $LOCALPATH/code/python/osbrowser sudo python setup.py develop cd $LOCALPATH/code/python/medialist sudo python setup.py develop
export LOCALPATH=/c cd $LOCALPATH/code/python/moments/ sudo python setup.py develop
NOTE: these instructions are in currently reverse chronological order... start at the bottom (or reverse them)
install python interpreter. (MacPython) /c/code/python/install.txt also [2009.02.11 13:40:49] add python applications to path: /Library/Frameworks/Python.framework/Versions/Current/bin/ (gets added to the account that installs python, but not to other accounts... be sure to add it to default (or install python from default)
when playing back media on mac, make sure you are using a terminal associated with the currently logged in user!! using a different user will allow the video to show up
install pylons: sudo easy_install pylons
or from local paths: code/python/pylons/install.txt cd $USBPATH/downloads/python/simplejson-2.0.9 sudo python setup.py install
#install pylons environment from eggs here. cd $USBPATH/downloads/python/pylons-eggs-2.6 sudo easy_install -f . Pylons #sudo easy_install -f . wsgiref
cd $USBPATH/downloads/python/formalchemy-eggs-2.6 sudo easy_install -f . formalchemy
install pose: #install pose cd $LOCALPATH/code/python/pose sudo python setup.py develop #could start a local pose instance, then firefox, but this is system specific
change settings in Terminal change Basic profile itself, (rather than changing what settings are used when starting a new window... those are not applied to new tabs.)
if not using iDisk, remove it from DEVICES list in Finder (drag it off of list)
move any downloaded files to your new Context cd mkdir -p /c/downloads/macosx ls Desktop mv ~/Desktop/* /c/downloads/macosx/
and backup to USB for future use: rsync -av /c/downloads $USBPATH/downloads/
apply any other personal settings to your system
consider making a default account with what you've done for here
#install a context from contextiskey.com: hg clone http://bitbucket.org/context/context/ /c #or use a local copy #hg clone /Volumes/CONTEXT/ /c
#updating working directory #549 files updated, 0 files merged, 0 files removed, 0 files unresolved cd cp /c/.bashrc .bash_profile ln -s /c/code/lisp/.emacs .emacs ln -s /c/code/lisp/.emacs.d .emacs.d ln -s /c/.exrc .exrc
open up your text editor open up the first set of files in /c/instances.txt
download emacs install emacs
download quicksilver install it add it to Account Preferences->Login Items change System Preferences->Keyboard & Mouse->Keyboard Shorcuts uncheck "Show Spotlilght search field" set Quicksilver key to Command-Space change Quicksilver->Preferences->Appearance->Command Interface to: Bezel add quicksilver launcher to dock
-download latest firefox (mozilla.org) | http://en.www.mozilla.com/en/firefox/ | see firefox.txt for configuration notes
open system preferences in Date & Time: enable Set date & time automatically choose timezone use 24-hour clock
under Accounts: Login Options: Enable fast user switching View as: Icon Automatic Login: Disabled
check for software updates this can take a while to download
system preferences -> sharing change machine name
change safari's start page (google is fast to load)
Start with a fresh install of the Operating system. Having install move the previously installed system to "Previous Systems" does not clean everything up. If you want to keep it around, it is better to move it to an archive drive of sorts.