-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
38 lines (30 loc) · 794 Bytes
/
setup.py
File metadata and controls
38 lines (30 loc) · 794 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
36
37
38
import os
from subprocess import call
from setuptools import setup, find_packages
import sys
PACKAGE_NAME = 'sci'
VERSION = '0.1.0'
def compile_line():
compile_command = ("g++ LINE/line.cpp -o LINE/line"
"-lgsl -lgslcblas -lpthread")
return_code = call(compile_command.split())
if return_code != 0:
sys.exit(("LINE compilation has failed."
"Please make sure to install GSL library"))
compile_line()
setup(
name="sci",
version=0.1,
author='Haitham Ashoor',
author_email='haitham.ashoor@jax.org',
packages=find_packages(),
install_requires=[
'numpy',
'scikit-learn',
'tqdm'
],
classifiers=(
"Programming Language :: Python :: 2",
),
zip_safe=False,
)