-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup_old.py
More file actions
35 lines (32 loc) · 975 Bytes
/
setup_old.py
File metadata and controls
35 lines (32 loc) · 975 Bytes
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
from setuptools import setup, find_packages, Extension
from Cython.Build import cythonize
# Cythonize splitter
ext_modules = [
Extension(
"split",
["tree/split.pyx"],
extra_compile_args=[
"-Xpreprocessor", # comment out if using fopenmp
"-fopenmp",
],
extra_link_args=[
"-Xpreprocessor", # comment out if using fopenmp
"-fopenmp"
],
language="c++",
)
]
with open("requirements.txt", mode="r", encoding="utf8") as f:
REQUIREMENTS=f.read()
setup(
name="manifold_random_forests",
version=0.01,
author="Adam Li, Chester Huynh, Parth Vora",
# skipping author email, maintainer, maintainer email,
description="A package to implement and extend SPORF and MORF",
license="MIT",
install_requirements=REQUIREMENTS,
packages=find_packages(exclude=["tree/tests/*"]),
include_package_data=True,
# ext_modules=cythonize(ext_modules),
)