mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-08 04:50:07 +01:00
rearrainge things a little
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
13
setup.py
13
setup.py
@@ -103,7 +103,9 @@ else:
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
extensions = [
|
||||
ext = []
|
||||
|
||||
ext.append(
|
||||
Extension('siplib', ['sip/siplib/apiversions.c',
|
||||
'sip/siplib/bool.cpp',
|
||||
'sip/siplib/descriptors.c',
|
||||
@@ -119,8 +121,9 @@ extensions = [
|
||||
libraries = cfg.libs,
|
||||
extra_compile_args = cfg.cflags,
|
||||
extra_link_args = cfg.lflags,
|
||||
),
|
||||
))
|
||||
|
||||
ext.append(
|
||||
Extension('_core', ['etg/_core.py',
|
||||
'etg/object.py',
|
||||
'etg/gdicmn.py',
|
||||
@@ -132,8 +135,8 @@ extensions = [
|
||||
libraries = cfg.libs,
|
||||
extra_compile_args = cfg.cflags,
|
||||
extra_link_args = cfg.lflags,
|
||||
),
|
||||
]
|
||||
))
|
||||
cfg.CLEANUP.append(opj(cfg.PKGDIR, 'core.py'))
|
||||
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
@@ -155,7 +158,7 @@ if __name__ == '__main__':
|
||||
packages = WX_PKGLIST,
|
||||
#extra_path = EXTRA_PATH,
|
||||
ext_package = cfg.PKGDIR,
|
||||
ext_modules = extensions,
|
||||
ext_modules = ext,
|
||||
|
||||
options = { 'build' : BUILD_OPTIONS,
|
||||
'build_ext' : {'sip_opts' : cfg.SIPOPTS },
|
||||
|
||||
Reference in New Issue
Block a user