these notes are formalized in: startup-python.sh
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)
notes for this are elsewhere but this is also a good time to install mercurial easy_install mercurial
on Mac OS X this does require Xcode to be up to date (can still download an executable for mac)
be sure to set up easy_install for the new python instance this can be done by running ez_setup.py available at: | http://peak.telecommunity.com/dist/ez_setup.py
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)
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
nosetests | http://somethingaboutorange.com/mrl/projects/nose/ | sudo easy_install nose
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.
If you are on a shared system, Virtual Env may help isolate your Python instance from other Python instances on the system.
The other component that you will need to install is the Python Imaging Library (often abbreviated as PIL).
Binaries for windows are available at the main site. Binary packages are much easier to install than from source.
For Mac OS X you can use ports, or find a binary package like the following: | http://pythonmac.org/packages/py25-fat/index.html | This also requires the 2.5 version of Python from python.org. (The one distributed with Leopard won't work)
also [2009.06.26 13:19:06] after installing the python from python.org, make sure that the python in the default path is using the latest python which python python -V should be 2.5.4
sudo rm /usr/bin/python sudo ln -s /usr/local/bin/python /usr/bin/python
sudo rm /usr/bin/pythonw sudo ln -s /usr/local/bin/pythonw /usr/bin/pythonw
See also: | http://code.google.com/appengine/docs/python/images/installingPIL.html
Python is included with many operating systems.
An easy way to check if your system already has Python is to open up a terminal / command prompt and type:
python -V
for example: python -V Python 2.5.2
If your operating system does not have Python installed, please visit: | http://www.python.org | For more information on downloading and installing Python for your system.