mateconf = TemplateExtension(name='mateconf', pkc_name='mateconf-2.0', pkc_version=MATECONF_REQUIRED_VERSION, output='mate.mateconf', defs='mateconf/mateconf.defs', sources=[ 'mateconf/mateconfmodule.c', 'mateconf/mateconf-fixes.c', 'mateconf/mateconf.c' ], register=['mateconf/mateconf.defs'], override='mateconf/mateconf.override') matecomponent_activation = PkgConfigExtension( name='matecomponent.activation', pkc_name='matecomponent-activation-2.0', pkc_version=MATECOMPONENT_ACTIVATION_REQUIRED_VERSION, sources=['matecomponent/activationmodule.c']) libmatecomponent = TemplateExtension(name='matecomponent', pkc_name='libmatecomponent-2.0', pkc_version=LIBMATECOMPONENT_REQUIRED_VERSION, output='matecomponent._matecomponent', defs='matecomponent/matecomponent.defs', sources=['matecomponent/matecomponentmodule.c', 'matecomponent/matecomponent-arg.c', 'matecomponent/matecomponent.c'], register=MATECOMPONENTDEFS + \ ['matecomponent/matecomponentui.defs'], load_types='matecomponent/matecomponent-arg-types.py', override='matecomponent/matecomponent.override')
self.add_template_option('MATECORBA2_REQUIRED_VERSION', MATECORBA2_REQUIRED) self.prepare() self.install_template('pymatecorba-2.pc.in', os.path.join(self.libdir, 'pkgconfig')) InstallLib.run(self) 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',
class PyORBitInstallLib(InstallLib): def run(self): self.add_template_option('ORBIT2_REQUIRED_VERSION', ORBIT2_REQUIRED) self.prepare() self.install_template('pyorbit-2.pc.in', os.path.join(self.libdir, 'pkgconfig')) InstallLib.run(self) 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'],
#!/usr/bin/env python #from distutils.core import setup, Extension from distutils.core import setup from dsextras import PkgConfigExtension visualizercontrolbase = PkgConfigExtension(name='VisualizerControlBase', pkc_name='gstreamer-0.10', pkc_version='', sources=['visualizercontrolbase.c']) setup(name='visualizercontrolbase', version='1.0', description='Module containing VisualizerControl base class', ext_modules=[visualizercontrolbase])