[MacPorts] #45564: python27: platform.mac_ver() fails

MacPorts noreply at macports.org
Thu Oct 23 06:23:52 PDT 2014


#45564: python27: platform.mac_ver() fails
-----------------------------+-------------------
  Reporter:  xixi.wang577@…  |      Owner:  jwa@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.3.2
Resolution:                  |   Keywords:
      Port:  python27        |
-----------------------------+-------------------

Comment (by xixi.wang577@…):

 Hi, thanks a lot for your help! I found out that the system file has been
 modified and I changed it back, it works very well now!
 Replying to [comment:12 nad@…]:
 > I'm not seeing a problem installing the latest setuptools from source
 with any Python 2.7 I have on OS X 10.10.  Perhaps the system file has
 been modified.  It should look like this:
 >
 > {{{
 > $ ls -l /System/Library/CoreServices/SystemVersion.plist
 > -r--r--r--  1 root  wheel  477 Oct  9 03:43
 /System/Library/CoreServices/SystemVersion.plist
 > $ file /System/Library/CoreServices/SystemVersion.plist
 > /System/Library/CoreServices/SystemVersion.plist: XML  document text
 > $ more /System/Library/CoreServices/SystemVersion.plist
 > <?xml version="1.0" encoding="UTF-8"?>
 > <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
 "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 > <plist version="1.0">
 > <dict>
 >         <key>ProductBuildVersion</key>
 >         <string>14A389</string>
 >         <key>ProductCopyright</key>
 >         <string>1983-2014 Apple Inc.</string>
 >         <key>ProductName</key>
 >         <string>Mac OS X</string>
 >         <key>ProductUserVisibleVersion</key>
 >         <string>10.10</string>
 >         <key>ProductVersion</key>
 >         <string>10.10</string>
 > </dict>
 > </plist>
 > }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/45564#comment:13>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list