Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4329)  |  Call(2935)  |  Derive(28)  |  Import(1366)
Just a collection of attributes that describes an extension
module and everything needed to build it (hopefully in a portable
way, but there are hooks that let you be as unportable as you need).

Instance attributes:
  name : string
    the full name of the extension, including any packages -- ie.
    *not* a filename or pathname, but Python dotted name
  sources : [string]
    list of source filenames, relative to the distribution root(more...)

src/p/y/pyhpc-tutorial-HEAD/examples/cython/fib/fib-handwritten-extension/hand_fib_setup.py   pyhpc-tutorial(Download)
from distutils.core import setup, Extension
 
ext = Extension(name='hand_fib', sources=['hand_fib.c'], extra_compile_args=['-O3'])
 
setup(name="hand_fib", ext_modules=[ext])

src/p/y/PyTango-8.1.1/src/sip/setup.py   PyTango(Download)
import subprocess
 
from distutils.core import setup, Extension
from distutils.unixccompiler import UnixCCompiler
from distutils.version import StrictVersion as V
 
    _tango = Extension(
        name='Tango',
        sources=sources,
        include_dirs=include_dirs,

src/h/u/hue-HEAD/desktop/core/ext-py/python-ldap-2.3.13/setup.py   hue(Download)
	has_setuptools = True
except ImportError:
	from distutils.core import setup, Extension
 
from ConfigParser import ConfigParser
	ext_modules = [
		Extension(
		'_ldap',
		[
			'Modules/LDAPObject.c',

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/python-ldap-2.3.13/setup.py   hortonworks-sandbox(Download)
	has_setuptools = True
except ImportError:
	from distutils.core import setup, Extension
 
from ConfigParser import ConfigParser
	ext_modules = [
		Extension(
		'_ldap',
		[
			'Modules/LDAPObject.c',

src/i/s/ISPManCCP-0.0.1alpha3.1/extra-packages/pyperl-1.0.1d/setup.py   ISPManCCP(Download)
#!/usr/bin/env python
 
from distutils.core import setup, Extension
from distutils.command.install import install
 
        ext_name = "perl2"
        cc_extra.append("-DDL_HACK")
        extra_ext.append(Extension(name = "perl",
                                   sources = ["dlhack.c"],
                                   ))
 
ext_modules = []
ext_modules.append(Extension(name = ext_name,
                             sources = sources,
                             define_macros = macros,

src/r/p/rpy2-2.3.10/setup.py   rpy2(Download)
 
from distutils.core import setup
from distutils.core import Extension
 
pack_name = 'rpy2'
else:
    from distutils.core import setup    
from distutils.core import Extension
 
 
 
    rinterface_ext = Extension(
            name = pack_name + '.rinterface._rinterface',
            sources = [ \
            #os.path.join('rpy', 'rinterface', 'embeddedr.c'), 
 
    rpy_device_ext = Extension(
        pack_name + '.rinterface._rpy_device',
        [
            os.path.join(package_prefix,

src/p/y/PyTango-8.1.1/setup.py   PyTango(Download)
import subprocess
 
from distutils.core import setup, Extension
from distutils.cmd import Command
from distutils.command.build import build as dftbuild
 
    _pytango = Extension(
        name='_PyTango',
        sources=_cppfiles,
        include_dirs=include_dirs,

src/i/n/input-lib-HEAD/packages/lxml/setupinfo.py   input-lib(Download)
import sys, os, os.path
from distutils.core import Extension
from distutils.errors import DistutilsOptionError
from versioninfo import get_base_dir, split_version
 
        result.append(
            Extension(
            module,
            sources = [main_module_source],
            depends = find_dependencies(module),

src/p/y/pypngnq-0.1.3/setup.py   pypngnq(Download)
from distutils.core import setup, Extension
 
include_dirs = ['/usr/include', '/usr/local/include']
library_dirs = ['/usr/local/lib', ]
libraries = ['png', 'z', ]
      packages = ["pypngnq"],
      ext_package = "pypngnq",
      ext_modules = [Extension(name = "pngnq",
                                sources = sources,
                                include_dirs = include_dirs,

src/t/u/tuxmodule-python2-1.0/setup.py   tuxmodule(Download)
import os, shutil
import sys
from distutils.core import setup, Extension
from distutils.command import build_ext, clean
import commands, os.path
 
# build the atmi and atmi/WS modules
tuxedo_ext = Extension(name = 'tuxedo.atmi',
		     define_macros = [("TUXVERSION", tuxversion)], 
		     undef_macros = ["TUXWS"], 
                     )
 
tuxedo_ext_ws = Extension(name = 'tuxedo.atmiws',
		     define_macros = [("TUXWS", 1), 
				      ("TUXVERSION", tuxversion)

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next