-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·43 lines (39 loc) · 1.1 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
import setuptools, os
PACKAGE_NAME = "xt-training"
VERSION = "2.4.4-alpha2"
AUTHOR = "Xtract AI"
EMAIL = "info@xtract.ai"
DESCRIPTION = "Utilities for training models in pytorch"
GITHUB_URL = "https://github.com/XtractTech/xt-training"
parent_dir = os.path.dirname(os.path.realpath(__file__))
with open(f"{parent_dir}/docs/README.md", "r") as f:
long_description = f.read()
setuptools.setup(
name=PACKAGE_NAME,
version=VERSION,
author=AUTHOR,
author_email=EMAIL,
description=DESCRIPTION,
long_description=long_description,
long_description_content_type="text/markdown",
url=GITHUB_URL,
packages=["xt_training", "xt_training.utils", "xt_training.utils.nni"],
package_data={"": ["*.json", "*.yml"]},
provides=["xt_training"],
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
install_requires=[
"numpy",
"pandas",
"torch",
"scikit-learn>=0.22",
"plotly",
"pynvml",
"nni",
"gitpython",
"tensorboard",
"pyreadline",
],
)