-
Notifications
You must be signed in to change notification settings - Fork 25
/
setup.py
37 lines (34 loc) · 1.19 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
"""A setuptools based setup module.
See:
https://packaging.python.org/guides/distributing-packages-using-setuptools/
https://github.com/pypa/sampleproject
"""
from setuptools import setup, find_packages
# Read the version without importing any dependencies
version = {}
with open("torchhd/version.py") as f:
exec(f.read(), version)
setup(
name="torch-hd", # use torch-hd on PyPi to install torchhd, torchhd is too similar according to PyPi
version=version["__version__"],
description="Torchhd is a Python library for Hyperdimensional Computing and Vector Symbolic Architectures",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/hyperdimensional-computing/torchhd",
license="MIT",
install_requires=[
"torch>=1.9.0",
"scipy",
"pandas",
"numpy",
"requests",
"tqdm",
"openpyxl",
],
packages=find_packages(exclude=["docs", "torchhd.tests", "examples"]),
python_requires=">=3.8, <4",
project_urls={
"Source": "https://github.com/hyperdimensional-computing/torchhd",
"Documentation": "https://torchhd.readthedocs.io",
},
)