Re: [Pyobjc-dev] What did I do wrong?
Brought to you by:
ronaldoussoren
|
From: Steven D. M. <sd...@mi...> - 2001-04-27 18:24:37
|
What version of Python are you using ? One of the beta releases?
My patch was accepted into the 2.1 final, so that should work.
My copy of Python2.1/lib/distutils/unixccompiler.py has a line:
src_extensions = [".c",".C",".cc",".cxx",".cpp",".m"]
in the beta (and maybe the final candidate) releases, the ".m" is
missing.
-- Steve.
On Fri, 27 Apr 2001, Deirdre Saoirse Moen wrote:
> OK, I figured that out -- now I'm up to the problem Steve had last
> November with not having pyobjc import correctly. I finally just
> chickened out and grabbed his binaries so I could get something done.
>
>
> >% /usr/local/bin/python setup.py install
> >running install
> >running build
> >running build_ext
> >building 'pyobjc' extension
> >Traceback (most recent call last):
> > File "setup.py", line 23, in ?
> > ext_modules = [Extension("pyobjc", sourceFiles)],
> > File "/usr/local/lib/python2.0/distutils/core.py", line 157, in setup
> > raise SystemExit, "error: " + str(msg)
> >SystemExit: error: unknown file type '.m' (from 'OC_PythonBundle.m')
>
|