blob: f1f3e08a0fbb0502e0f4117b2851532992084e17 (
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', '-Wall', '-Wno-unused-parameter']
)])
|