-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (28 loc) · 925 Bytes
/
Copy pathsetup.py
File metadata and controls
29 lines (28 loc) · 925 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
26
27
28
29
from distutils.core import Extension, setup
from Cython.Build import cythonize
setup(
ext_modules = cythonize(Extension(
'moduleinterface.master',
sources = ['moduleinterface/_master_cython.pyx'],
language = 'c++',
include_dirs = [
'libraries/ModuleInterface/src',
'libraries/PJON/src/',
'libraries/ArduinoJson/src/'
],
language_level=3,
define_macros=[('LINUX', 1)]
))
)
'''
setup(
ext_modules = cythonize(
'moduleinterface/master/_master_cython.pyx',
aliases={
'MI_SRC' : 'libraries/ModuleInterface/src',
'PJON_SRC' : 'libraries/PJON/src',
'ARDUINO_JSON_SRC' : 'libraries/ArduinoJson/src'
},
compiler_directives={'language_level' : 3})
)
'''