-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
45 lines (41 loc) · 1.09 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
# -*- coding: utf-8 -*-
"""
Setup file for BaumBauen.
Use setup.cfg to configure your project.
This file was generated with PyScaffold 3.2.3.
PyScaffold helps you to put up the scaffold of your new Python project.
Learn more under: https://pyscaffold.org/
"""
import sys
from pkg_resources import VersionConflict, require
from setuptools import setup
try:
require('setuptools>=38.3')
except VersionConflict:
print("Error: version of setuptools is too old (<38.3)!")
sys.exit(1)
if __name__ == "__main__":
setup(
use_pyscaffold=True,
install_requires=[
'torch',
'numpy',
'scikit-learn',
'scipy==1.4.1',
'optuna',
'pathlib',
'tensorflow-cpu',
'phasespace',
'pytorch-ignite',
'click',
'notebook',
'jupytext',
'matplotlib',
'h5py',
'uproot',
'pynvml',
# The following are for Optuna visualisation
'plotly',
'kaleido',
]
)