This repository has been archived by the owner on Jul 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathsetup.py
51 lines (45 loc) · 1.7 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
from os.path import join, dirname, abspath
from setuptools import setup, find_packages
def readme():
with open("README.md", "r") as f:
return f.read()
def install_requires():
with open(join(dirname(abspath(__file__)), "requirements.txt"), "r") as f:
return f.read().splitlines()
setup(
name="rethinking-bnn-optimization",
version="0.1.0",
author="Plumerai",
author_email="[email protected]",
description='Implementation for paper "Latent Weights Do Not Exist: Rethinking Binary Neural Network Optimization"',
long_description=readme(),
long_description_content_type="text/markdown",
url="https://github.com/plumerai/rethinking-bnn-optimization.git",
packages=find_packages(),
python_requires=">=3.6",
license="Apache 2.0",
install_requires=install_requires(),
extras_require={
"tensorflow": ["tensorflow==2.0.0"],
"tensorflow_gpu": ["tensorflow-gpu==2.0.0"],
},
entry_points="""
[console_scripts]
bnno=bnn_optimization.train:cli
""",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development",
],
)