-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
53 lines (46 loc) · 1011 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Copyright (C) 2010-2016 Dzhelil S. Rufat. All Rights Reserved.
import numpy
import pybind11
from setuptools import setup, Extension
include_dirs = [
'src',
numpy.get_include(),
pybind11.get_include(True),
pybind11.get_include(False),
]
depends = [
'setup.py',
]
extra_compile_args = [
'-std=c++11',
]
ext_modules = [
Extension(
'licpy.resample',
sources=[
'licpy/resample.cpp',
],
depends=depends,
include_dirs=include_dirs,
extra_compile_args=extra_compile_args,
language="c++",
),
]
setup(
name='licpy',
packages=['licpy'],
package_dir={'licpy': 'licpy'},
ext_modules=ext_modules,
version='0.2',
description='Line Integral Convolution',
author='Dzhelil Rufat',
author_email='drufat@fastmail.com',
license='GNU GPLv3',
url='http://github.com/drufat/licpy.git',
requires=[
'pybind11',
'numpy',
'sympy',
'tensorflow',
],
)