-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
36 lines (29 loc) · 853 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
import setuptools
from distutils import util
from distutils.core import setup
from distutils.extension import Extension
ext_instance_int = Extension(
'ext_int',
sources=['timedrel/boost/timedrel_ext_int.cpp'],
include_dirs=['include'],
libraries=['boost_python3'],
)
ext_instance_float = Extension(
'ext_float',
sources=['timedrel/boost/timedrel_ext_float.cpp'],
include_dirs=['include'],
libraries=['boost_python3'],
)
setup(
name='timedrel',
version='0.3.0',
author='Dogan Ulus',
author_email='[email protected]',
url='http://github.com/doganulus/timedrel/',
packages=setuptools.find_packages(),
license='GPLv3+',
description = 'timedrel implements timed relations',
python_requires='>=3',
ext_package='timedrel',
ext_modules=[ext_instance_int, ext_instance_float]
)