-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
77 lines (64 loc) · 1.72 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
#!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
raise RuntimeError('setuptools is required')
DESCRIPTION = ('An educational statistics & ML package which covers the myriad of methods in data science')
LONG_DESCRIPTION = """
An educational statistics & ML package which covers the myriad of methods in data science
"""
DISTNAME = 'HopML'
MAINTAINER = "Michael Hopwood"
MAINTAINER_EMAIL = 'mwhopwood@gmail.com'
LICENSE = 'MIT'
URL = 'https://github.com/MichaelHopwood/HopML'
TESTS_REQUIRE = [
'pytest',
]
INSTALL_REQUIRES = [
'numpy >= 1.15.0',
'pandas >= 0.23.0',
'scipy >= 1.2.0',
'scikit-learn',
'nltk',
'matplotlib',
'seaborn',
'plotly',
'gensim',
'networkx',
]
DOCS_REQUIRE = [
'sphinx == 2.2.0'
]
EXTRAS_REQUIRE = {
'optional': ['ruptures'],
'test': TESTS_REQUIRE,
'doc': DOCS_REQUIRE
}
EXTRAS_REQUIRE['all'] = sorted(set(sum(EXTRAS_REQUIRE.values(), [])))
SETUP_REQUIRES = ['setuptools_scm']
CLASSIFIERS = [
'Development Status :: 2 - Pre-Alpha',
'Operating System :: OS Independent',
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering'
]
PACKAGES = find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"])
setup(
name=DISTNAME,
use_scm_version=True,
packages=PACKAGES,
install_requires=INSTALL_REQUIRES,
extras_require=EXTRAS_REQUIRE,
tests_require=TESTS_REQUIRE,
setup_requires=SETUP_REQUIRES,
ext_modules=[],
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
license=LICENSE,
classifiers=CLASSIFIERS,
url=URL
)