forked from CEA-COSMIC/pysap-mri
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
58 lines (54 loc) · 1.83 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#! /usr/bin/env python
##########################################################################
# pySAP - Copyright (C) CEA, 2018
# Distributed under the terms of the CeCILL-B license, as published by
# the CEA-CNRS-INRIA. Refer to the LICENSE file or to
# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
# for details.
##########################################################################
# System import
from __future__ import print_function
import os
from setuptools import setup, find_packages
try:
from pip._internal.main import main as pip_main
except:
from pip._internal import main as pip_main
# Global parameters
CLASSIFIERS = [
"Development Status :: 1 - Planning",
"Environment :: Console",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Scientific/Engineering"]
AUTHOR = """
Antoine Grigis <antoine.grigis@cea.fr>
Samuel Farrens <samuel.farrens@gmail.com>
Jean-Luc Starck <jl.stark@cea.fr>
Philippe Ciuciu <philippe.ciuciu@cea.fr>
"""
# Write setup
setup_requires = ["numpy>=1.16.4", "cython>=0.27.3", "pytest-runner"]
pip_main(['install'] + setup_requires)
setup(
name="pysap-mri",
description="Python Sparse data Analysis Package external MRI plugin.",
long_description="Python Sparse data Analysis Package external MRI plugin.",
license="CeCILL-B",
classifiers="CLASSIFIERS",
author=AUTHOR,
author_email="XXX",
version="0.4.0",
url="https://github.com/CEA-COSMIC/pysap-mri",
packages=find_packages(),
setup_requires=setup_requires,
install_requires=[
"scikit-learn>=0.19.1",
"progressbar2>=3.34.3",
"joblib>=1.0.0",
"scipy>=1.3.0",
"scikit-image>=0.17.0",
],
tests_require=['pytest>=5.0.1', 'pytest-cov>=2.7.1', 'pytest-pep8', 'pytest-runner'],
platforms="OS Independent"
)