-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
33 lines (29 loc) · 1.12 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
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, "README.md"), encoding='utf-8') as f:
long_description = f.read()
#if path.isfile(path.join(here, "smili/libmfista.so")):
# errmsg="Apparently, you have not compiled C/Fortran libraries with make."
# errmsg+=" Please install this library by 'make install' not by 'python setup.py install'"
# raise RuntimeError(errmsg)
setup(
name="smili",
version = "0.2.0",
description = "Sparse Modeling Imaging library for Interferometry",
long_description = long_description,
url = "https://smili.github.io/smili",
author = "Kazunori Akiyama",
author_email = "[email protected]",
license = "GPL ver 3.0",
zip_safe=False,
keywords = "imaging astronomy EHT",
packages = find_packages(exclude=["doc*", "test*"]),
package_data={'smili': ['*.so*','imaging/*.so*']},
install_requires = [
"numpy","scipy","matplotlib","pandas",
"scikit-image","astropy","tqdm","theano",
"colored", "scikit-learn"
]
)