-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
46 lines (42 loc) · 1.63 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 setup, find_packages
from pathlib import Path
def get_version(fname=Path.cwd().joinpath("bondnet", "__init__.py")):
with open(fname) as fin:
for line in fin:
line = line.strip()
if "__version__" in line:
v = line.split("=")[1]
if "'" in v:
version = v.strip("' ")
elif '"' in v:
version = v.strip('" ')
break
return version
setup(
name="bondnet",
version=get_version(),
packages=find_packages(),
entry_points={"console_scripts": ["bondnet = bondnet.scripts.predict_cli:cli"]},
install_requires=["numpy", "pyyaml", "scikit-learn", "click"],
author="Mingjian Wen, Santiago Vargas",
author_email="santiagovargas921@gmail.com",
url="https://github.com/santi921/bondnet",
description="short description",
long_description="long description",
classifiers=[
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: Common Development and Distribution License 1.0 (CDDL-1.0)",
"Operating System :: OS Independent",
],
scripts=[
"./bondnet/scripts/training/lightning_bayes_opt.py",
"./bondnet/scripts/training/lightning_train.py",
"./bondnet/scripts/training/lightning_controller.py",
"./bondnet/scripts/training/lightning_generate_settings.py",
"./bondnet/scripts/training/launch_sbatch.py",
"./bondnet/scripts/helpers/json_dataset_to_lmdb.py",
],
zip_safe=False,
)