-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (37 loc) · 1.4 KB
/
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
from setuptools import setup, Extension
from Cython.Build import cythonize
from PyChestBuild.identify import get_lib_name
import os
library_path = get_lib_name()
# If the user has compiled their own shared library, then we are using that one
if os.path.isfile("PyChestBuild/GoChest.so"):
library_path = "GoChest.so"
print("Using found GoChest.so over precompiled libraries")
if os.path.isfile("PyChestBuild/GoChest.dll"):
library_path = "GoChest.dll"
print("Using found GoChest.dll over precompiled libraries")
extensions = [
Extension("PyChest", ["PyChest.pyx"])
]
setup(
name="PyChest",
version="1.22",
license="GPLv3+",
description="Locating distributional changes in piece-wise stationary time-series with long-range dependencies",
author="Lukas Zierahn",
author_email="[email protected]",
url="",
download_url="",
keywords=["Changepoint Estimation", "Dependent Data", "Unknown Number of Change Points"],
install_requires=["setuptools", "Cython"],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3",
],
packages=['PyChestBuild'],
include_package_data=True,
ext_modules=cythonize(extensions),
)