New distutils from Python 2.3a2

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-02-21 21:45:58 +00:00
parent ab60f861e4
commit ced9b1048c
10 changed files with 353 additions and 15 deletions

View File

@@ -40,10 +40,11 @@ def get_platform ():
(osname, host, release, version, machine) = os.uname()
# Convert the OS name to lowercase and remove '/' characters
# (to accommodate BSD/OS)
# Convert the OS name to lowercase, remove '/' characters
# (to accommodate BSD/OS), and translate spaces (for "Power Macintosh")
osname = string.lower(osname)
osname = string.replace(osname, '/', '')
machine = string.replace(machine, ' ', '_')
if osname[:5] == "linux":
# At least on Linux/Intel, 'machine' is the processor --