-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
38 lines (37 loc) · 1.15 KB
/
Copy pathsetup.py
File metadata and controls
38 lines (37 loc) · 1.15 KB
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
from setuptools import setup, find_packages, Extension
from Cython.Build import cythonize
import numpy
setup(
name="distributed_imm",
version="0.4.1",
description="A distributed implementation of Iterative Mistake Minimization (IMM) for clustering explanations",
author="Saadha",
author_email="marium.20@cse.mrt.ac.lk",
url="https://github.com/ScalableXplain/distributed_imm",
packages=find_packages(),
ext_modules=cythonize([
Extension(
"d_imm.splitters.cut_finder",
["d_imm/splitters/cut_finder.pyx"],
extra_compile_args=['-fopenmp'], # Enable OpenMP for parallel processing
extra_link_args=['-fopenmp'],
),
]),
include_dirs=[numpy.get_include()],
install_requires=[
"numpy",
"pyspark",
"cython",
"graphviz",
"pandas"
],
license="MIT", # Explicitly mention the license
license_files=["LICENSE"],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.7",
zip_safe=False,
)