From: Jouni K. S. <jk...@ik...> - 2009-05-19 14:33:08
|
Michael Droettboom <md...@st...> writes: >> $ python setup.py build_ext --inplace >> $ python setupegg.py develop > I have no idea what the second line does either -- and I've always done > just fine without it ;) AFAIK, the second line does the same thing as the first one, and then makes a matplotlib.egg-link file in your site-packages directory, containing the directory in which your matplotlib sources live, so that "import matplotlib" finds that directory without any explicit hacking of the Python search path. If you already have such a file, or if you have otherwise managed to put the source directory on the search path, the first line should be enough. >> File "/System/Library/Frameworks/Python.framework/Versions/2.5/ >> Extras/lib/python/setuptools/command/build_ext.py", line 77, in >> swig_sources >> sources = _build_ext.swig_sources(self, sources) or sources >> TypeError: swig_sources() takes exactly 3 arguments (2 given) Sounds like a setuptools problem. Perhaps updating setuptools (easy_install -U setuptools) will help. -- Jouni K. Seppänen http://www.iki.fi/jks |