-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
82 lines (75 loc) · 2.76 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#!/usr/bin/env python3
#
# -*- coding: utf-8 -*-
#
# Author: Laurent Vermue <[email protected]>
#
#
# License: 3-clause BSD
from setuptools import setup, find_packages
import mbpls
NAME = "mbpls"
VERSION = mbpls.__version__
DESCRIPTION = "An implementation of the most common partial least squares algorithms as multi-block methods"
URL = 'https://github.com/DTUComputeStatisticsAndDataAnalysis/MBPLS'
AUTHORS = "Andreas Baum, Laurent Vermue"
AUTHOR_MAILS = "<[email protected]>, <[email protected]>"
LICENSE = 'new BSD'
# This is the lowest tested version. Below might work as well
NUMPY_MIN_VERSION = '1.13.3'
SCIPY_MIN_VERSION = '1.0.0'
SCIKIT_LEARN_MIN_VERSION = '0.22.1'
PANDAS_MIN_VERSION = '0.20.0'
def setup_package():
with open('README.rst') as f:
LONG_DESCRIPTION = f.read()
LONG_DESCRIPTION_CONTENT_TYPE = 'text/x-rst'
setup(name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type=LONG_DESCRIPTION_CONTENT_TYPE,
url=URL,
author=AUTHORS,
author_email=AUTHOR_MAILS,
packages = find_packages(),
license=LICENSE,
classifiers=['Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'License :: OSI Approved',
'Programming Language :: Python',
'Topic :: Software Development',
'Topic :: Scientific/Engineering',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: Unix',
'Operating System :: MacOS',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
# 'Development Status :: 4 - Beta',
'Development Status :: 5 - Production/Stable'
],
install_requires=[
'numpy>={0}'.format(NUMPY_MIN_VERSION),
'scipy>={0}'.format(SCIPY_MIN_VERSION),
'scikit-learn>={0}'.format(SCIKIT_LEARN_MIN_VERSION),
'pandas>={0}'.format(PANDAS_MIN_VERSION)
],
extras_require={
'tests': [
'pytest'],
'docs': [
'sphinx >= 1.6',
'sphinx_rtd_theme',
'nbsphinx',
'nbsphinx_link'
],
'extras': [
'matplotlib',
],
},
python_requires='>=3.5',
)
if __name__ == '__main__':
setup_package()