-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
39 lines (35 loc) · 946 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
from setuptools import setup, find_packages
from Cython.Build import cythonize
import numpy
try:
from os.path import realpath, dirname
ESTIMATOR_DIR = dirname(realpath(__file__))
path.insert(1, '{}/src'.format(ESTIMATOR_DIR))
from _version import __version__
except:
__version__ = "unknown"
setup(
name='hdestimator',
version=__version__,
install_requires=[
'h5py',
'pyyaml',
'numpy',
'scipy',
'mpmath',
'matplotlib',
'cython',
],
packages=find_packages(),
include_package_data=True,
py_modules=['hdestimator'],
url='',
license='BSD 3-Clause',
author='',
author_email='',
description='The history dependence estimator tool',
ext_modules=cythonize(["src/hde_fast_embedding.pyx"],
# "hde_fast_utils.pyx"],
annotate=False),
include_dirs=[numpy.get_include()]
)