-
Notifications
You must be signed in to change notification settings - Fork 22
/
setup.py
51 lines (47 loc) · 1.6 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
import subprocess as sp
import platform
from setuptools import setup, find_packages
with open("README.md", "r") as f:
long_description = f.read()
proceed = True
requires = [
"torch~=1.11",
"torchvision~=0.12",
"matplotlib~=3.4",
"nidaqmx~=0.6",
"tqdm~=4.63",
"PyYAML==6.0",
"unittest2==1.1.0",
"pytest==7.1.2",
"pytest-cov==3.0.0",
"coverage==6.4"
]
if platform.system() == "Windows":
requires.append("pywin32==225")
setup(
name="brainspy",
version="1.0.2",
description=
"A python package to support research on different nano-scale materials for creating hardware accelerators in the context of deep neural networks.",
long_description=long_description,
long_description_content_type="text/markdown",
keywords=['pytorch', 'nano', 'material', 'hardware acceleration', 'deep neural networks'],
author="Unai Alegre-Ibarra et al.",
author_email="[email protected]",
license="GPL-3.0",
#python_requires='==3.9',
install_requires=requires,
packages=find_packages(exclude=["tests"]),
#package_dir={"": str("src/brainspy")},
#py_modules=["brainspy"],
#url="https://github.com/BraiNEdarwin/brains-py",
#download_url = "https://github.com/brainedarwin/brains-py/archive/1.0.0.tar.gz",
zip_safe=False,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 3',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)'
]
)