[NumPy-Tickets] [NumPy] #1467: MACOSX_DEPLOYMENT_TARGET should not have default

NumPy Trac numpy-tickets@scipy....
Tue Apr 27 13:42:38 CDT 2010


#1467: MACOSX_DEPLOYMENT_TARGET should not have default
-----------------------------+----------------------------------------------
 Reporter:  mallorn          |       Owner:  cdavid  
     Type:  defect           |      Status:  new     
 Priority:  normal           |   Milestone:          
Component:  numpy.distutils  |     Version:  1.4.0rc1
 Keywords:                   |  
-----------------------------+----------------------------------------------
 PROBLEM:
 numpy/distutils/fcompiler/gnu.py sets MACOSX_DEPLOYMENT_TARGET to a
 default of 10.3 which breaks distutils generating "cross-compiling" errors
 under Snow Leopard or any non-10.3 OS version.

 SOLUTION:
 Do not set a default value of MACOSX_DEPLOYMENT_TARGET: only set it if
 defined in the makefile or the environment. Alternatively use the existing
 distutils.util.get_platform() function to get the build platform and
 extract the OS version from that if needed.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1467>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list