-
Notifications
You must be signed in to change notification settings - Fork 46
/
setup.py
31 lines (27 loc) · 1.08 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
from setuptools import setup, find_packages
def parse_requirements(filename):
lineiter = (line.strip() for line in open(filename))
return [line for line in lineiter if line and not line.startswith("#")]
reqs = parse_requirements('requirements.txt')
VERSION = '3.0.1'
DESCRIPTION = 'Only Train Once (OTO): Automatic One-Shot General DNN Training and Compression Framework'
LONG_DESCRIPTION = 'Only Train Once (OTO): Automatic One-Shot General DNN Training and Compression Framework'
setup(
name="only_train_once",
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
author="Tianyi Chen",
author_email="[email protected]",
license='MIT',
packages=find_packages(),
install_requires=reqs,
url="https://github.com/tianyic/only_train_once",
keywords='automatic, one-shot, structure pruning, sparse optimization',
classifiers= [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
'License :: OSI Approved :: MIT License',
"Programming Language :: Python :: 3",
]
)