X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/33328cd8828baafa97e8623e005b471486b61cc7..f5766910b6731eb03e82371416e9778203396ce7:/wxPython/setup.py?ds=sidebyside diff --git a/wxPython/setup.py b/wxPython/setup.py index 34b0b5dacc..0960cd8487 100755 --- a/wxPython/setup.py +++ b/wxPython/setup.py @@ -156,8 +156,8 @@ CLEANUP.append('licence') if os.name == 'nt': - build_locale_dir(opj(PKGDIR, 'i18n')) - DATA_FILES += build_locale_list(opj(PKGDIR, 'i18n')) + build_locale_dir(opj(PKGDIR, 'locale')) + DATA_FILES += build_locale_list(opj(PKGDIR, 'locale')) if os.name == 'nt': @@ -193,6 +193,8 @@ swig_sources = run_swig(['gdi.i'], 'src', GENDIR, PKGDIR, 'src/_bitmap.i', 'src/_colour.i', 'src/_dc.i', + 'src/_graphics.i', + 'src/_overlay.i', 'src/_gdiobj.i', 'src/_imaglist.i', 'src/_region.i', @@ -331,6 +333,7 @@ swig_sources = run_swig(['misc.i'], 'src', GENDIR, PKGDIR, 'src/_clipbrd.i', 'src/_stdpaths.i', 'src/_power.i', + 'src/_about.i', ], True) ext = Extension('_misc_', swig_sources, @@ -513,6 +516,23 @@ ext = Extension('_aui', swig_sources, wxpExtensions.append(ext) +swig_sources = run_swig(['animate.i'], 'src', GENDIR, PKGDIR, + USE_SWIG, swig_force, swig_args, swig_deps) +ext = Extension('_animate', + swig_sources, + + include_dirs = includes + CONTRIBS_INC, + define_macros = defines, + + library_dirs = libdirs, + libraries = libs, + + extra_compile_args = cflags, + extra_link_args = lflags, + ) + +wxpExtensions.append(ext) + @@ -703,34 +723,6 @@ if BUILD_GIZMOS: wxpExtensions.append(ext) -#---------------------------------------------------------------------- -# Define the ANIMATE extension module -#---------------------------------------------------------------------- - -if BUILD_ANIMATE: - msg('Preparing ANIMATE...') - location = 'contrib/animate' - - swig_sources = run_swig(['animate.i'], location, GENDIR, PKGDIR, - USE_SWIG, swig_force, swig_args, swig_deps) - - ext = Extension('_animate', - swig_sources, - - include_dirs = includes + CONTRIBS_INC, - define_macros = defines, - - library_dirs = libdirs, - libraries = libs + makeLibName('animate'), - - extra_compile_args = cflags, - extra_link_args = lflags, - ) - - wxpExtensions.append(ext) - - - #---------------------------------------------------------------------- # Define the DLLWIDGET extension module #----------------------------------------------------------------------