[MacPorts] #22278: python2.4 mac_ver reports incorrect version
MacPorts
noreply at macports.org
Wed Oct 28 09:35:05 PDT 2009
#22278: python2.4 mac_ver reports incorrect version
-------------------------------+--------------------------------------------
Reporter: wichert@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port:
-------------------------------+--------------------------------------------
On python 2.4 the version information is missing:
{{{
Python 2.4.6 (#1, Oct 28 2009, 13:08:10)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> platform.mac_ver()
('', ('', '', ''), '')
}}}
Python 2.6 gets it correct:
{{{
python2.6
Python 2.6.2 (r262:71600, Oct 7 2009, 14:08:41)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> platform.mac_ver()
('10.6.1', ('', '', ''), 'i386')
}}}
this breaks setuptools since it can no longer match the architecture of
the current system with the architecture of an egg and will refuse to
install them.
--
Ticket URL: <http://trac.macports.org/ticket/22278>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list