-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·33 lines (25 loc) · 984 Bytes
/
setup.py
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
26
27
28
29
30
#!/usr/bin/python -B
from config import *
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
extensions = [ Extension("cycl.core", ['build/core.pyx'],
libraries = [opencl_library],
library_dirs = [opencl_library_dir],
include_dirs = [opencl_include_dir, 'src']),
Extension("cycl.command", ['build/command.pyx'],
libraries = [opencl_library],
library_dirs = [opencl_library_dir],
include_dirs = [opencl_include_dir, 'src'])]
cycl_srcs = ['cycl']
setup(
cmdclass = {'build_ext': build_ext},
ext_modules = extensions,
packages = ['cycl'],
name = 'CyCL',
version = '0.0.1',
description = "Cython Bindings for OpenCL",
author = "J-Pascal Mercier",
author_email = "[email protected]",
license = "MIT"
)