new SWIG generated sources for compiling with Python 1.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -259,7 +259,8 @@ class BuildConfig:
|
||||
|
||||
if sys.platform == 'win32':
|
||||
self.MAKE = 'nmake'
|
||||
self.PYTHONLIB = '$(PYPREFIX)\\libs\\python15.lib'
|
||||
compactver = string.join(string.split(self.PYVERSION, '.'), '')
|
||||
self.PYTHONLIB = '$(PYPREFIX)\\libs\\python%s.lib' % compactver
|
||||
self.TARGETDIR = '$(PYPREFIX)\\wxPython'
|
||||
self.LIBS = '$(PYTHONLIB) $(WXPSRCDIR)\wxc.lib'
|
||||
self.GENCODEDIR = 'msw'
|
||||
|
Binary file not shown.
@@ -1,5 +1,5 @@
|
||||
%define pref /usr
|
||||
%define ver 2.2.0
|
||||
%define ver 2.2.1
|
||||
%define rpmver 0
|
||||
|
||||
Summary: Cross platform GUI toolkit for use with the Python language.
|
||||
|
@@ -72,40 +72,33 @@ item: Set Variable
|
||||
Value=wxPython
|
||||
Flags=10000000
|
||||
end
|
||||
item: Set Variable
|
||||
Variable=DLLVER
|
||||
Value=wx21_16
|
||||
end
|
||||
item: Check Configuration
|
||||
Flags=10111011
|
||||
end
|
||||
item: Remark
|
||||
Text= 1.5 and 1.5.1 have a CurrentVersion key
|
||||
end
|
||||
item: Get Registry Key Value
|
||||
Variable=PYTHONVER
|
||||
Key=SOFTWARE\Python\PythonCore\CurrentVersion
|
||||
Default=None
|
||||
Flags=00000100
|
||||
end
|
||||
item: If/While Statement
|
||||
Variable=PYTHONVER
|
||||
Value=None
|
||||
end
|
||||
item: Remark
|
||||
Text= Just try 1.5 since 1.5.2b2 doesn't set CurrentVersion but uses 1.5
|
||||
end
|
||||
item: Set Variable
|
||||
Variable=PYTHONVER
|
||||
Value=1.5
|
||||
Value=1.6
|
||||
end
|
||||
item: End Block
|
||||
item: Remark
|
||||
end
|
||||
item: Get Registry Key Value
|
||||
Variable=PYTHONDIR
|
||||
Key=SOFTWARE\Python\PythonCore\%PYTHONVER%\InstallPath
|
||||
Flags=00000100
|
||||
end
|
||||
remarked item: If/While Statement
|
||||
Variable=PYTHONDIR
|
||||
Value=None
|
||||
end
|
||||
remarked item: Get Registry Key Value
|
||||
Variable=PYTHONDIR
|
||||
Key=SOFTWARE\Python\PythonCore\%PYTHONVER%\InstallPath
|
||||
Flags=00000010
|
||||
end
|
||||
remarked item: End Block
|
||||
end
|
||||
item: If/While Statement
|
||||
Variable=PYTHONDIR
|
||||
Value=None
|
||||
@@ -123,6 +116,8 @@ item: Set Variable
|
||||
Variable=MAINDIR
|
||||
Value=%PYTHONDIR%
|
||||
end
|
||||
item: Remark
|
||||
end
|
||||
item: Set Variable
|
||||
Variable=EXPLORER
|
||||
Value=1
|
||||
@@ -1214,7 +1209,7 @@ end
|
||||
item: Self-Register OCXs/DLLs
|
||||
Description=Updating System Configuration, Please Wait...
|
||||
end
|
||||
item: Edit Registry
|
||||
remarked item: Edit Registry
|
||||
Total Keys=1
|
||||
Key=SOFTWARE\Python\PythonCore\%PYTHONVER%\PythonPath\wxPython
|
||||
New Value=%MAINDIR%
|
||||
|
Reference in New Issue
Block a user