-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
21 lines (18 loc) · 935 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import setuptools
with open("README.rst") as fp:
long_description = fp.read()
with open("torchutils/_version.py") as fp:
torchutils_version = fp.read().strip().split('__version__ = ')[1][1:-1]
setuptools.setup(
name='torchutils', version=torchutils_version,
author="Anjandeep Singh Sahni", author_email="[email protected]",
description="PyTorch utility APIs.", long_description=long_description,
long_description_content_type="text/x-rst",
url="https://github.com/anjandeepsahni/torchutils.git",
packages=setuptools.find_packages(exclude=['test']), classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
], keywords='machine-learning deep-learning pytorch neuralnetwork',
install_requires=['torch>=1.0.0', 'numpy>=1.16.2',
'matplotlib>=3.0.3'], license='MIT')