-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
25 lines (22 loc) · 957 Bytes
/
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
from setuptools import setup, find_packages
from os import path
DIR = path.dirname(path.abspath(__file__))
with open(path.join(DIR, 'README.md')) as f:
README = f.read()
setup(
name="hnn",
version="0.0.3.5",
packages=find_packages(exclude=["examples", "examples.*", "unit_tests", "unit_tests.*"]),
keywords=["hybrid neural networks", "spiking neural networks", "quantization"],
description="A programming framework based on PyTorch for hybrid neural networks with automatic quantization",
long_description=README,
long_description_content_type='text/markdown',
license="Apache License 2.0",
url="https://github.com/openBII/HNN",
author="Huanyu",
author_email="[email protected]",
include_package_data=True,
platforms="any",
install_requires=['numpy', 'torch==1.11.0', 'torchvision', 'onnx', 'onnx-simplifier', 'spikingjelly'],
tests_require=['pytest', 'pytest-html', 'pytest-xdist'],
)