'src/pycorba-typecode.c', 'src/pycorba-object.c', 'src/pycorba-method.c', 'src/pycorba-marshal.c', 'src/pycorba-orb.c', 'src/pycorba-any.c', 'src/pycorba-exceptions.c', 'src/pycorba-struct.c', 'src/pycorba-enum.c', 'src/pycorba-fixed.c', 'src/stub-gen.c', 'src/pymatecorba-servant.c', 'src/pymatecorba-poa.c', 'src/pymatecorba-utils.c']) if not matecorba.can_build(): raise SystemExit doclines = __doc__.split("\n") setup(name="pymatecorba", version=VERSION, license='LGPL', platforms=['yes'], maintainer="James Henstridge", maintainer_email="*****@*****.**", description = doclines[0], long_description = "\n".join(doclines[2:]), py_modules=['CORBA', 'PortableServer'], ext_modules=[matecorba], data_files=[('include/pymatecorba-2.0', ['src/pymatecorba.h'])],
if libmate.can_build(): ext_modules.append(libmate) data_files.append((DEFS_DIR, ('mate/mate.defs',))) if have_pymatecorba and libmateui.can_build(): ext_modules.append(libmateui) data_files.append((DEFS_DIR, ('mate/ui.defs',))) if libmatecanvas.can_build(): ext_modules.append(libmatecanvas) data_files.append((DEFS_DIR, ('mate/canvas.defs',))) if libzvt.can_build(): ext_modules.append(libzvt) data_files.append((DEFS_DIR, ('mate/zvt.defs',))) if mateconf.can_build(): ext_modules.append(mateconf) data_files.append((DEFS_DIR, ('mateconf/mateconf.defs',))) if have_pymatecorba and matecomponent_activation.can_build(): ext_modules.append(matecomponent_activation) if have_pymatecorba and libmatecomponent.can_build(): ext_modules.append(libmatecomponent) data_files.append((DEFS_DIR, ('matecomponent/matecomponent.defs', 'matecomponent/matecomponent-types.defs'))) if have_pymatecorba and libmatecomponentui.can_build(): ext_modules.append(libmatecomponentui) data_files.append((DEFS_DIR, ('matecomponent/matecomponentui.defs', 'matecomponent/matecomponentui-types.defs'))) if libcaja.can_build(): ext_modules.append(libcaja) data_files.append((DEFS_DIR, ('mate/caja.defs',))) if libmatepanelapplet.can_build(): ext_modules.append(libmatepanelapplet) data_files.append((DEFS_DIR, ('mate/applet.defs',)))
libraries=['pyglib'], sources=['gio/giomodule.c', 'gio/gio.c', 'gio/pygio-utils.c'], register=['gio/gio-types.defs'], override='gio/gio.override') clibs = [] data_files = [] ext_modules = [] #Install dsextras and codegen so that the pygtk installer can find them py_modules = ['dsextras'] packages = ['codegen'] if glib.can_build(): #It would have been nice to create another class, such as PkgConfigCLib to #encapsulate this dictionary, but it is impossible. build_clib.py does #a dumb check to see if its only arguments are a 2-tuple containing a #string and a Dictionary type - which makes it impossible to hide behind a #subclass # #So we are stuck with this ugly thing clibs.append(('pyglib', {'sources': ['glib/pyglib.c'], 'macros': GLOBAL_MACROS, 'include_dirs': ['glib', get_python_inc()] + pkgc_get_include_dirs('glib-%s' % PYGTK_SUFFIX)})) #this library is not installed, so probably should not include its header #data_files.append((INCLUDE_DIR, ('glib/pyglib.h',))) ext_modules.append(glib)
if libmate.can_build(): ext_modules.append(libmate) data_files.append((DEFS_DIR, ('mate/mate.defs', ))) if have_pymatecorba and libmateui.can_build(): ext_modules.append(libmateui) data_files.append((DEFS_DIR, ('mate/ui.defs', ))) if libmatecanvas.can_build(): ext_modules.append(libmatecanvas) data_files.append((DEFS_DIR, ('mate/canvas.defs', ))) if libzvt.can_build(): ext_modules.append(libzvt) data_files.append((DEFS_DIR, ('mate/zvt.defs', ))) if mateconf.can_build(): ext_modules.append(mateconf) data_files.append((DEFS_DIR, ('mateconf/mateconf.defs', ))) if have_pymatecorba and matecomponent_activation.can_build(): ext_modules.append(matecomponent_activation) if have_pymatecorba and libmatecomponent.can_build(): ext_modules.append(libmatecomponent) data_files.append((DEFS_DIR, ('matecomponent/matecomponent.defs', 'matecomponent/matecomponent-types.defs'))) if have_pymatecorba and libmatecomponentui.can_build(): ext_modules.append(libmatecomponentui) data_files.append((DEFS_DIR, ('matecomponent/matecomponentui.defs', 'matecomponent/matecomponentui-types.defs'))) if libcaja.can_build(): ext_modules.append(libcaja) data_files.append((DEFS_DIR, ('mate/caja.defs', ))) if libmatepanelapplet.can_build(): ext_modules.append(libmatepanelapplet) data_files.append((DEFS_DIR, ('mate/applet.defs', )))
'gobject/pygpointer.c', 'gobject/pygtype.c', 'gobject/pygsource.c', 'gobject/pygiochannel.c', ]) data_files = [] ext_modules = [] py_modules = [] py_modules.append('dsextras') if not have_pkgconfig(): print "Error, could not find pkg-config" raise SystemExit if gobject.can_build(): ext_modules.append(gobject) py_modules.append('gobject.option') data_files.append((INCLUDE_DIR, ('gobject/pygobject.h',))) data_files.append((HTML_DIR, glob.glob('docs/html/*.html'))) data_files.append((HTML_DIR, ['docs/style.css'])) data_files.append((XSL_DIR, glob.glob('docs/xsl/*.xsl'))) else: print print 'ERROR: Nothing to do, gobject could not be found and is essential.' raise SystemExit # Threading support if '--disable-threading' in sys.argv: sys.argv.remove('--disable-threading') enable_threading = False
orbit = PkgConfigExtension( name='ORBit', pkc_name='ORBit-2.0', pkc_version=ORBIT2_REQUIRED, sources=[ 'src/ORBitmodule.c', 'src/pycorba-typecode.c', 'src/pycorba-object.c', 'src/pycorba-method.c', 'src/pycorba-marshal.c', 'src/pycorba-orb.c', 'src/pycorba-any.c', 'src/pycorba-exceptions.c', 'src/pycorba-struct.c', 'src/pycorba-enum.c', 'src/pycorba-fixed.c', 'src/stub-gen.c', 'src/pyorbit-servant.c', 'src/pyorbit-poa.c', 'src/pyorbit-utils.c' ]) if not orbit.can_build(): raise SystemExit doclines = __doc__.split("\n") setup(name="pyorbit", version=VERSION, license='LGPL', platforms=['yes'], maintainer="James Henstridge", maintainer_email="*****@*****.**", description=doclines[0], long_description="\n".join(doclines[2:]), py_modules=['CORBA', 'PortableServer'], ext_modules=[orbit], data_files=[('include/pyorbit-2.0', ['src/pyorbit.h'])],
matecorba = PkgConfigExtension( name='MateCORBA', pkc_name='MateCORBA-2.0', pkc_version=MATECORBA2_REQUIRED, sources=[ 'src/MateCORBAmodule.c', 'src/pycorba-typecode.c', 'src/pycorba-object.c', 'src/pycorba-method.c', 'src/pycorba-marshal.c', 'src/pycorba-orb.c', 'src/pycorba-any.c', 'src/pycorba-exceptions.c', 'src/pycorba-struct.c', 'src/pycorba-enum.c', 'src/pycorba-fixed.c', 'src/stub-gen.c', 'src/pymatecorba-servant.c', 'src/pymatecorba-poa.c', 'src/pymatecorba-utils.c' ]) if not matecorba.can_build(): raise SystemExit doclines = __doc__.split("\n") setup(name="pymatecorba", version=VERSION, license='LGPL', platforms=['yes'], maintainer="James Henstridge", maintainer_email="*****@*****.**", description=doclines[0], long_description="\n".join(doclines[2:]), py_modules=['CORBA', 'PortableServer'], ext_modules=[matecorba], data_files=[('include/pymatecorba-2.0', ['src/pymatecorba.h'])],
'src/pycorba-typecode.c', 'src/pycorba-object.c', 'src/pycorba-method.c', 'src/pycorba-marshal.c', 'src/pycorba-orb.c', 'src/pycorba-any.c', 'src/pycorba-exceptions.c', 'src/pycorba-struct.c', 'src/pycorba-enum.c', 'src/pycorba-fixed.c', 'src/stub-gen.c', 'src/pyorbit-servant.c', 'src/pyorbit-poa.c', 'src/pyorbit-utils.c']) if not orbit.can_build(): raise SystemExit doclines = __doc__.split("\n") setup(name="pyorbit", version=VERSION, license='LGPL', platforms=['yes'], maintainer="James Henstridge", maintainer_email="*****@*****.**", description = doclines[0], long_description = "\n".join(doclines[2:]), py_modules=['CORBA', 'PortableServer'], ext_modules=[orbit], data_files=[('include/pyorbit-2.0', ['src/pyorbit.h'])],