You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

setup.py 1.2 kB

1234567891011121314151617181920212223242526
  1. #from distutils.core import setup
  2. from distutils.extension import Extension
  3. #from Cython.Distutils import build_ext
  4. from distutils.core import setup
  5. from Cython.Build import cythonize
  6. #setup(ext_modules=cythonize("script.pyx"))
  7. extensions = [Extension("script",
  8. sources=["script.pyx", "src/essai.cpp"],
  9. include_dirs=["include","include/lsape", "include/Eigen", "include/nomad", "include/sgtelib", "include/libsvm.3.22", "include/fann", "include/boost_1_69_0"],
  10. library_dirs=["lib/fann","lib/gedlib", "lib/libsvm.3.22","lib/nomad"],
  11. libraries=["doublefann","sgtelib", "svm", "nomad"],
  12. language="c++",
  13. extra_compile_args=["-std=c++11"],
  14. extra_link_args=["-std=c++11"])]
  15. setup(ext_modules=cythonize(extensions))
  16. #extensions = [Extension("script", sources=["script.pyx", "include/gedlib-master/src/env/ged_env.ipp"], include_dirs=["."], language="c++")]
  17. #setup(name = "script", ext_modules = extensions, cmdclass = {'build_ext':build_ext},)
  18. # Commande Bash : python setup.py build_ext --inplace

A Python package for graph kernels, graph edit distances and graph pre-image problem.