Setting up a Mac for Django development was easy – even a little easier than I thought. My machine is a new MacBook Pro running 10.8.2.
Xcode
Xcode provides the utilities needed for Python libraries and Subversion. It can be installed from the App Store. Afterwards, open the application, open Preferences and select downloads, then install the command line tools.
Python Utilities
In a terminal window:
- sudo easy_install pip
- sudo easy_install virtualenv
Eclipse
Setting up Eclipse worked pretty much the same as it does on Linux.
- Download desired Eclipse package. I used the Java EE package, Indigo (3.7) version.
- Unzip the files
- Copy Eclipse folder to Applications
- Drag the program file to the dock
As I cover in my earlier post, My Eclipse Setup for Django, I installed Aptana Studio 3 to add Python and Django support, and Subclipse to access my Subversion repositories.
That’s It!
Not tough at all. Happy developing!