-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
29 lines (26 loc) · 1.11 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
from setuptools import setup
version_dict = {}
exec(open("./visual/version.py").read(), version_dict)
import sys
if sys.version_info[0] >= 3:
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
else:
long_description = 'A visualisation library for PyTorch using torchbearer'
setup(
name='torchbearer_visual',
version=version_dict['__version__'],
packages=['visual', 'visual.models', 'tests', 'tests.models'],
url='https://github.com/pytorchbearer/visual',
download_url='https://github.com/pytorchbearer/visual/archive/' + version_dict['__version__'] + '.tar.gz',
license='MIT',
author='Ethan Harris',
author_email='[email protected]',
description='A visualisation library for PyTorch using torchbearer',
long_description=long_description,
long_description_content_type='text/markdown',
install_requires=['torch>=1.1.0', 'torchvision>=0.3.0', 'torchbearer'],
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*',
)