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

noreply@sourceforge.net noreply@sourceforge.net
Thu, 16 Aug 2001 13:56:46 -0700


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

Category: Distutils
Group: Platform-specific
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: A.M. Kuchling (akuchling)
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: A.M. Kuchling (akuchling)
Date: 2001-08-16 13:56

Message:
Logged In: YES 
user_id=11375

A similar patch from Steve Majewski was accepted a while 
ago; in fact I believe it made into Python 2.1.1.


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

Comment By: Tim Peters (tim_one)
Date: 2001-03-17 22:21

Message:
Logged In: YES 
user_id=31435

Assigned to Greg Ward and changed Category to Distutils.

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

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