-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
58 lines (48 loc) · 1.79 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
56
57
58
from os import path
from setuptools import setup, find_packages
# To use consisten encodings
from codecs import open
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as readme_file:
long_description = readme_file.read()
requirements = [
'torch >= 1.8',
'pyyaml',
'easydict'
]
exec(open('bnn/version.py').read())
setup(
name='bnn',
version=__version__,
description="Binarize deep convolutional neural networks using python and pytorch",
long_description=long_description,
long_description_content_type="text/markdown",
# Author details
author="Adrian Bulat",
author_email="[email protected]",
url="https://github.com/1adrianb/binary-networks-pytorch",
keywords=['artificial intelligence', 'convolutional neural network', 'binary networks', 'quantization', 'pytorch'],
# Package info
packages=find_packages(exclude=('test',)),
install_requires=requirements,
license='BSD',
zip_safe=True,
classifiers=[
'Development Status :: 4 - Beta',
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
# Supported python versions
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
)