blob: e01837fd3a7880d6d62d491216b55f6a8693e984 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
from distutils.core import setup, Extension
# Find where numpy is installed to get the header
import pathlib
import numpy
numpy_headers_path = pathlib.Path(numpy.__file__).parent.joinpath("core/include")
setup(name = 'o3000', version = '1.0',
ext_modules = [Extension(
'o3000',
sources = ['c_extension.c', 'helpers.c'],
libraries = ['o3000', 'o3000_imgpipe', 'tiff'],
include_dirs = [str(numpy_headers_path)],
# extra_compile_args = ['-Wextra']
)])
|