X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e46a8e623a425608a2e68d3ef1540d6ac8cea14..c91830cb4b924451c1ccd8835d64bd71f8e1df54:/wxPython/setup.py?ds=sidebyside diff --git a/wxPython/setup.py b/wxPython/setup.py index 80036ac9d3..e554d4c439 100755 --- a/wxPython/setup.py +++ b/wxPython/setup.py @@ -15,7 +15,7 @@ from distutils.command.install_data import install_data VER_MAJOR = 2 # The first three must match wxWindows VER_MINOR = 5 -VER_RELEASE = 0 +VER_RELEASE = 1 VER_SUBREL = 0 # wxPython release num for x.y.z release of wxWindows VER_FLAGS = "p1" # release flags, such as prerelease num, unicode, etc. @@ -329,7 +329,7 @@ def makeLibName(name): def adjustCFLAGS(cflags, defines, includes): - '''Extrace the raw -I, -D, and -U flags and put them into + '''Extract the raw -I, -D, and -U flags and put them into defines and includes as needed.''' newCFLAGS = [] for flag in cflags: @@ -350,7 +350,7 @@ def adjustCFLAGS(cflags, defines, includes): def adjustLFLAGS(lfags, libdirs, libs): - '''Extrace the -L and -l flags and put them in libdirs and libs as needed''' + '''Extract the -L and -l flags and put them in libdirs and libs as needed''' newLFLAGS = [] for flag in lflags: if flag[:2] == '-L': @@ -402,18 +402,13 @@ if os.name == 'nt': GENDIR = 'msw' includes = ['src', - opj(WXDIR, 'lib', 'vc_msw' + libFlag() + 'dll'), + opj(WXDIR, 'lib', 'vc_dll', 'msw' + libFlag()), opj(WXDIR, 'include'), opj(WXDIR, 'contrib', 'include'), ] defines = [ ('WIN32', None), ('_WINDOWS', None), -## ('__WIN32__', None), -## ('__WINDOWS__', None), -## ('WINVER', '0x0400'), -## ('__WIN95__', None), -## ('STRICT', None), (WXPLAT, None), ('WXUSINGDLL', '1'), @@ -430,9 +425,14 @@ if os.name == 'nt': if not FINAL or HYBRID: defines.append( ('__WXDEBUG__', None) ) - libdirs = [ opj(WXDIR, 'lib', 'vc_msw' + libFlag() + 'dll') ] - wxdll = 'wxmsw' + WXDLLVER + libFlag() - libs = [ wxdll ] + libdirs = [ opj(WXDIR, 'lib', 'vc_dll') ] + libs = [ 'wxbase' + WXDLLVER + libFlag(), # TODO: trim this down to what is really needed for the core + 'wxbase' + WXDLLVER + libFlag() + '_net', + 'wxbase' + WXDLLVER + libFlag() + '_xml', + makeLibName('core')[0], + makeLibName('adv')[0], + makeLibName('html')[0], + ] libs = libs + ['kernel32', 'user32', 'gdi32', 'comdlg32', 'winspool', 'winmm', 'shell32', 'oldnames', 'comctl32',