From: James M. <mu...@pi...> - 2008-12-10 20:50:42
|
I succeeded in building the visual 5 module using the python and numpy that came with the Enthought Python Distribution. In addition to following the well written instruction in CVS, the only thing I had to do was modify the makefile to point to where the Enthought python and numpy were installed. I added one line to the makefile PYTHON_DIST = 4.0.30002 and modified two lines PYTHON_FRAMEWORK = /Library/Frameworks/Python.framework/Versions/$ (PYTHON_VERSION)/ became PYTHON_FRAMEWORK = /Library/Frameworks/Python.framework/Versions/$ (PYTHON_DIST)/ all other places in the makefile, PYTHON_VERSION was left untouched. and -I$(SITE_PACKAGES)numpy/core/include \ became -I$(SITE_PACKAGES)numpy-1.1.1.0001-py2.5-macosx-10.3-fat.egg/ numpy/core/include \ I could probably do this better by adding a variable at the top to hold the numpy location, but I'll wait until I do this again for that. It took about an hour to find out which lines needed to be changed, but all in all, this is A LOT easier than the horror stories I heard about people trying to build visual 3 on the mac. I hope building on windows will be this easy. -Jim Mueller |