-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (23 loc) · 762 Bytes
/
setup.py
File metadata and controls
29 lines (23 loc) · 762 Bytes
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
# coding: UTF-8
import sys
from setuptools import setup, find_packages
VERSION = '0.1.4'
DESC = ('A High-Level training API on top of PyTorch with '
'many useful features')
DESC_SHORT = 'A High-Level training API on top of PyTorch'
install_requires = ['numpy', 'Pillow', 'tqdm', 'torch', 'tensorboardX']
if sys.version_info < (3, 3):
install_requires.append('mock')
setup_info = dict(
name='torchtools',
version=VERSION,
author='Youchen Du',
author_email='youchen.du@gmail.com',
url='https://github.com/Time1ess/torchtools',
description=DESC_SHORT,
long_description=DESC,
license='MIT',
packages=find_packages(exclude=('test',)),
zip_safe=True,
install_requires=install_requires)
setup(**setup_info)