• Facebook
  • Twitter
  • Reddit
  • StumbleUpon
  • Digg
  • email

All Samples(11)  |  Call(5)  |  Derive(0)  |  Import(6)
Just like a regular Extension, but built as a library instead

src/j/c/JCC-2.6/setup.py   JCC(Download)
 
    if with_setuptools and enable_shared:
        from subprocess import Popen, PIPE
        from setuptools import Library
 
        kwds = { "extra_compile_args": cflags,
                 "include_dirs": includes,
        else:
            kwds["extra_link_args"] = lflags
 
        extensions.append(Library('jcc', **kwds))
 
        args = _javac[:]
        args.extend(('-d', 'jcc/classes'))

src/b/a/badger-lib-HEAD/packages/setuptools/tests/shlib_test/setup.py   badger-lib(Download)
from setuptools import setup, Extension, Library
 
setup(
    name="shlib_test",
    ext_modules = [
        Library("hellolib", ["hellolib.c"]),
        Extension("hello", ["hello.pyx"], libraries=["hellolib"])

src/r/e/reporter-lib-HEAD/packages/setuptools/tests/shlib_test/setup.py   reporter-lib(Download)
from setuptools import setup, Extension, Library
 
setup(
    name="shlib_test",
    ext_modules = [
        Library("hellolib", ["hellolib.c"]),
        Extension("hello", ["hello.pyx"], libraries=["hellolib"])

src/d/i/distribute-0.6.14/tests/shlib_test/setup.py   distribute(Download)
from setuptools import setup, Extension, Library
 
setup(
    name="shlib_test",
    ext_modules = [
        Library("hellolib", ["hellolib.c"]),
        Extension("hello", ["hello.pyx"], libraries=["hellolib"])

src/s/e/setuptools-0.6c11/tests/shlib_test/setup.py   setuptools(Download)
from setuptools import setup, Extension, Library
 
setup(
    name="shlib_test",
    ext_modules = [
        Library("hellolib", ["hellolib.c"]),
        Extension("hello", ["hello.pyx"], libraries=["hellolib"])