-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
25 lines (23 loc) · 958 Bytes
/
setup.py
File metadata and controls
25 lines (23 loc) · 958 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env python
import os
from distutils.core import setup, Extension
jit = Extension('jit',
sources = ['src/jit-block.cpp',
'src/jit-context.cpp',
'src/jit-dynamic.cpp',
'src/jit-function.cpp',
'src/jit-jump-table.cpp',
'src/jit-label.cpp',
'src/jit-module.cpp',
'src/jit-type.cpp',
'src/jit-value.cpp'],
language = 'c++',
include_dirs=['src/', '/usr/local/include/'],
libraries = ['jit', 'jitplus', 'jitdynamic'],
library_dirs = ['/usr/local/lib', '/usr/local/lib64'])
setup(name='pylibjit',
version="0.1",
description='Python bindings for libjit',
author='Dan Eicher',
author_email='dan@eu.phorio.us',
ext_modules=[jit])