Lessons (Version 3.0)
Software Carpentry is an intensive introduction to basic software development practices for scientists and engineers.
All of the material is open source:
it may be used freely by anyone for educational or commercial purposes.
To find out more, please check us out at
http://software-carpentry.org.
Note:
these notes are no longer maintained.
Please see Version 4.0
for more recent material.
Software
These course materials currently use Python 2.5
because some of the libraries that we rely on have not yet been updated
to work with Python 2.6.
Our current plan is to bypass 2.6 entirely,
and move to Python 3.0
as soon as the libraries we depend on have been ported.
- Mac OS X:
- Python 2.5 Note: if you are using Mac OS X 10.5 (Leopard), you must still install this version of Python, or the other installers listed below will not work.
- X11 (from 'Optional programs' on your Mac OS X install disc); this may already be installed.
- SmartSVN
- Wing IDE Personal Edition (use this installer for PowerPC)
- Python Imaging Library 1.1.6
- PyGame
- PyObjC
- NumPy 1.3
- Download and unzip PyGraphics2.0.pkg.zip and double-click to install the media tools.
- nose
- Install setuptools
- Run Terminal.app (in /Applications/Utilities)
- In a Terminal window, type
easy_install nose. (For this step to work, you must be connected to the internet.)
- Windows:
- Python 2.5
- SmartSVN (with JRE---use this installer if you have JRE 1.4.1 or higher already installed)
- Wing IDE Personal Edition
- Python Imaging Library 1.1.6
- PyGame
- NumPy 1.3 for Python 2.5
- Download and double-click PyGraphics-2.0.win32.exe to install the media tools.
- nose
- Install setuptools
- Run DOS Command Prompt (Start -> All Programs -> Accessories -> Command Prompt)
- In DOS, type:
C:\Python25\Scripts\easy_install nose. (For this step to work, you must be connected to the internet)
- Cygwin (a Unix emulation package for Windows).
- Double-click the installer to run it.
- Choose "Install from Internet".
- Use "C:\cygwin" as the root directory.
- Use any convenient directory as the Local Package Directory.
- Use any convenient download site.
- The default set of packages is all you need for this course, but you may find others useful for your own work.
- Ubuntu/Debian Linux:
sudo apt-get install python-imaging python-imaging-tk python-pygame python-numpy python-setuptools
- SmartSVN
- Wing IDE Personal Edition (use this installer if you prefer an RPM)
- Download PyGraphics.tgz, open a shell, and then:
tar zxvf PyGraphics.tgz
cd to the cpython subdirectory
sudo python setup.py install
- Install nose with
sudo easy_install nose