Skip to content

Instantly share code, notes, and snippets.

@gcr
Created July 8, 2013 01:30
Show Gist options
  • Select an option

  • Save gcr/5945650 to your computer and use it in GitHub Desktop.

Select an option

Save gcr/5945650 to your computer and use it in GitHub Desktop.
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
import numpy
setup(name='libmr',
ext_modules = [Extension('libmr', ['libmr.pyx',
#"../libMR/MetaRecognition.cpp",
#"../libMR/weibull.c"
],
include_dirs = ["../libMR/", numpy.get_include()],
library_dirs = ["../build/libMR/"],
libraries=["MR"],
language="c++",
)],
cmdclass = { 'build_ext': build_ext },
version = "0.1.0",
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment