from distutils.core import setup from distutils.extension import Extension from Cython.Build import cythonize extensions = [ Extension( "main", language="c++", sources=["main.pyx"], include_dirs = [ "/srv/slapgrid/slappart6/srv/runner/shared/openssl/24bd61db512fe6e4e0d214ae77943d75/include", "/srv/slapgrid/slappart6/srv/runner/shared/fmtlib/d524cc3d1a798a140778558556ec6d0c/include" ], library_dirs = [ "/srv/slapgrid/slappart6/srv/runner/shared/openssl/24bd61db512fe6e4e0d214ae77943d75/lib", "/srv/slapgrid/slappart6/srv/runner/shared/fmtlib/d524cc3d1a798a140778558556ec6d0c/lib" ], libraries = ["crypto", "fmt"], extra_link_args=[ "-Wl,-rpath=/srv/slapgrid/slappart6/srv/runner/shared/openssl/24bd61db512fe6e4e0d214ae77943d75/lib", "-Wl,-rpath=/srv/slapgrid/slappart6/srv/runner/shared/fmtlib/d524cc3d1a798a140778558556ec6d0c/lib" ], ), ] setup( ext_modules = cythonize(extensions) )