-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
46 lines (38 loc) · 1.54 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
from setuptools import find_packages, setup
import versioneer
def main():
with open('README.md') as readme_file:
readme = readme_file.read()
extras = {
'bots': ['python-telegram-bot'],
'hpo': ['scikit-optimize>=0.5.2', 'scipy'],
'monitoring': ['scikit-optimize>=0.7.4', 'sacred>=0.7.5', 'scikit-learn>=0.21.3', 'keras-tuner>=1.0.2',
'scikit-plot>=0.3.7', 'seaborn>=0.8.1', 'aif360>=0.2.1', 'xgboost>=0.82',
'yellowbrick>=1.2', 'pytorch-lightning>=1.0.7', 'pytorch-lightning<1.5.0'],
'versioning': ['boto3', 'numpy'],
'viz': ['altair>=2.3.0', 'hiplot>=0.1.5'],
}
all_deps = []
for group_name in extras:
all_deps += extras[group_name]
extras['all'] = all_deps
base_libs = ['attrdict>=2.0.0', 'neptune-client>=0.4.126', 'joblib>=0.13', 'pandas', 'matplotlib',
'Pillow>=6.2.0']
setup(
name='neptune-contrib',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='Neptune.ai contributions library',
author='neptune.ai',
support='[email protected]',
author_email='[email protected]',
url="https://github.com/neptune-ai/neptune-contrib",
long_description=readme,
long_description_content_type="text/markdown",
license='MIT License',
install_requires=base_libs,
extras_require=extras,
packages=find_packages(include=['neptunecontrib*']),
)
if __name__ == "__main__":
main()