-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
27 lines (25 loc) · 921 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
from setuptools import setup
from setuptools.extension import Extension
from Cython.Build import cythonize
extensions = [
Extension(
"SGTWrapper",
["cysgt/SGTWrapper.pyx", "cysgt/utils/StochasticGradientTree.cpp"],
language="c++"
)
]
setup(
name="cysgt",
version="0.0.1",
description="Stochastic Gradient Trees implementation using Cython",
long_description="Stochastic Gradient Trees by Henry Gouk, Bernhard Pfahringer, and Eibe Frank implementation in C++, Python. Based on the parer's accompanied repository code.",
url="https://github.com/JoKoum/stochastic-gradient-trees-cython",
author="John Koumentis",
author_email="jokoum92@gmail.com",
license="MIT",
packages=['cysgt','cysgt.utils'],
package_dir = {"cysgt": "cysgt"},
install_requires=["numpy>=1.20.2", "cython>=0.29.28"],
ext_modules=cythonize(extensions),
zip_safe=False
)