Alex Rivera | Logout

How to install scons on Mac OS X

Asked 2009-07-30T16:22:34.007
31

Can you please tell me how can I install scons on MacOSX?

I don't see a mac specified download from http://www.scons.org/

Thank you.

Edit
Report

2 Answers

9

Install MacPorts, then at the Terminal (Applications > Utilities > Terminal.app), type:

sudo port install scons

This command will automatically download and install scons for you. MacPorts requires that you have the developer tools installed, so if you don't, you will need to download and install the Xcode 3 DVD.

NOTE 1: Xcode 2.5 is the last version of Xcode that will work on Mac OS X Tiger.

NOTE 2: This may seem awfully painful if you don't already have MacPorts installed. However, you really should go this route, as MacPorts makes it easy to update installed software, it automatically manages dependencies between software, and it makes it easier to install other packages in the future.

answered 2009-07-30T16:26:23.793
1

If you have the Python setuptools, the following will install scons-1.2.0 from sourceforge:

easy_install scons

But bear in mind the issues people raise with setuptools.

Also, keep in mind this question and the answers about virtualenv and pip for isolating Python environments.

answered 2009-08-06T15:13:20.457

Your Answer