if os.name == 'nt':
- build_locale_dir(opj(PKGDIR, 'locale'))
- DATA_FILES += build_locale_list(opj(PKGDIR, 'locale'))
+ build_locale_dir(opj(PKGDIR, 'i18n'))
+ DATA_FILES += build_locale_list(opj(PKGDIR, 'i18n'))
if os.name == 'nt':
'src/_pen.i',
'src/_palette.i',
'src/_renderer.i',
-## 'src/_pseudodc.i',
+ 'src/_pseudodc.i',
],
True)
ext = Extension('_gdi_', ['src/drawlist.cpp',
-## 'src/pseudodc.cpp'
+ 'src/pseudodc.cpp'
] + swig_sources,
include_dirs = includes,
define_macros = defines,
+swig_sources = run_swig(['aui.i'], 'src', GENDIR, PKGDIR,
+ USE_SWIG, swig_force,
+ swig_args + ['-I'+opj(WXDIR, 'include/wx/aui')],
+ swig_deps + ['src/_aui_docstrings.i',
+ opj(WXDIR, 'include/wx/aui/framemanager.h'),
+ opj(WXDIR, 'include/wx/aui/floatpane.h'),
+ opj(WXDIR, 'include/wx/aui/dockart.h'),
+ opj(WXDIR, 'include/wx/aui/auibook.h'),
+ ])
+if not MONOLITHIC:
+ auiLib = makeLibName('aui')
+else:
+ auiLib = []
+ext = Extension('_aui', swig_sources,
+ include_dirs = includes,
+ define_macros = defines,
+ library_dirs = libdirs,
+ libraries = libs + auiLib,
+ extra_compile_args = cflags,
+ extra_link_args = lflags,
+ **depends
+ )
+wxpExtensions.append(ext)
+
+
+
#----------------------------------------------------------------------