python Programming Glossary: ext_modules
How to compile and link multiple python modules (or packages) using cython? http://stackoverflow.com/questions/11507101/how-to-compile-and-link-multiple-python-modules-or-packages-using-cython than one Extension setup cmdclass 'build_ext' build_ext ext_modules Extension example sourcefiles Extension example2 sourcefiles2..
How do I propagate C++ exceptions to Python in a SWIG wrapper library? http://stackoverflow.com/questions/1394484/how-do-i-propagate-c-exceptions-to-python-in-a-swig-wrapper-library 1.0 description 'Testing user defined exceptions...' ext_modules mylibrary_module py_modules mylibrary Note the compile flag..
How to tell distutils to use gcc? http://stackoverflow.com/questions/16737260/how-to-tell-distutils-to-use-gcc True setup name Interface cmdclass build_ext build_ext ext_modules modules The fopenmp flag is used with gcc to compile and link..
How to pass flag to gcc in Python setup.py script? http://stackoverflow.com/questions/1676384/how-to-pass-flag-to-gcc-in-python-setup-py-script setup Extension setup name 'foo' version '1.0' author 'Me' ext_modules Extension 'foo' 'foo.c' extra_compile_args ' framework CoreFoundation'.. setup Extension setup name 'foo' version '1.0' author 'Me' ext_modules Extension 'foo' 'foo.c' extra_link_args ' framework' 'CoreFoundation'..
Project organization with Cython and C++ http://stackoverflow.com/questions/16792792/project-organization-with-cython-and-c name # Building setup cmdclass 'build_ext' build_ext ext_modules Extension cyproject sources cyproject.pyx adapter ALabSimulatorBase.cpp..
creating small arrays in cython takes a humongous amount of time http://stackoverflow.com/questions/18410342/creating-small-arrays-in-cython-takes-a-humongous-amount-of-time import cythonize setup name simple cython func ext_modules cythonize 'test.pyx' profiling code # usr bin python from __future__..
Make distutils look for numpy header files in the correct place http://stackoverflow.com/questions/2379898/make-distutils-look-for-numpy-header-files-in-the-correct-place import Extension from Cython.Distutils import build_ext ext_modules Extension hello hello.pyx setup name 'Hello world app' cmdclass.. name 'Hello world app' cmdclass 'build_ext' build_ext ext_modules ext_modules When I try to build with python setup.py build_ext.. world app' cmdclass 'build_ext' build_ext ext_modules ext_modules When I try to build with python setup.py build_ext inplace Cython..
Simple wrapping of C code with cython http://stackoverflow.com/questions/3046305/simple-wrapping-of-c-code-with-cython import build_ext # from Cython.Build import cythonize ext_modules Extension name f sources f.pyx fc.cpp # extra_objects fc.o #.. ... .split setup name 'f' cmdclass 'build_ext' build_ext ext_modules ext_modules # ext_modules cythonize ext_modules not in 0.14.1.. setup name 'f' cmdclass 'build_ext' build_ext ext_modules ext_modules # ext_modules cythonize ext_modules not in 0.14.1 # version..
How to correct bugs in this Damerau-Levenshtein implementation? http://stackoverflow.com/questions/3431933/how-to-correct-bugs-in-this-damerau-levenshtein-implementation import build_ext setup name 'cython_dameraulevenshtein' ext_modules Extension 'cython_dameraulevenshtein' 'cython_dameraulevenshtein.pyx'..
trouble installing rpy2 on win7 (R 2.12, Python 2.5) http://stackoverflow.com/questions/4924917/trouble-installing-rpy2-on-win7-r-2-12-python-2-5 author Laurent Gautier author_email lgautier@gmail.com ext_modules rinterface_exts 0 package_dir pack_dir packages pack_name pack_name..
|