[Python-bugs-list] [ python-Bugs-409331 ] distutils does not support ObjC

noreply@sourceforge.net noreply@sourceforge.net
Fri, 16 Mar 2001 23:00:43 -0800


Bugs item #409331, was updated on 2001-03-16 22:58
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=409331&group_id=5470

Category: Extension Modules
Group: Platform-specific
Status: Open
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: distutils does not support ObjC

Initial Comment:
Via this patch....

Index: unixccompiler.py
=======================================
============================
RCS file: /cvsroot/python/python/dist/src/Lib/
distutils/unixccompiler.py,v
retrieving revision 1.32
diff -r1.32 unixccompiler.py
70c70
<     src_extensions = [".c",".C",".cc",".cxx",".cpp"]
---
>     src_extensions = 
[".c",".C",".cc",".cxx",".cpp",".m"]


... I added ".m" as the list of suffixes to compile as 
C source on Mac OS X.  This worked just fine and 
allowed the PyObjC module to compile via a 
normal distutils based setup.py script.

I suspect that there may need to be flags?

In general, the whole makesetup mechanism 
should be coupled with distutils because 
makesetup has a bunch more knowledge about 
the specifics of dealing with certain source file 
types!???!!

----------------------------------------------------------------------

Comment By: Bill Bumgarner (bbum)
Date: 2001-03-16 23:00

Message:
Logged In: YES 
user_id=103811

That  was submitted by me [bbum@codefab.com] in 
case anywhere needs to followup.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=409331&group_id=5470