Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F120144075
setup.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Jul 2, 06:01
Size
944 B
Mime Type
text/x-python
Expires
Fri, Jul 4, 06:01 (2 d)
Engine
blob
Format
Raw Data
Handle
27146882
Attached To
R12501 HDTorch
setup.py
View Options
"""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
(
"hdtorch/version.py"
)
as
f
:
exec
(
f
.
read
(),
version
)
setup
(
name
=
"hdtorch"
,
version
=
version
[
"__version__"
],
description
=
"HDTorch is a pytorch based HD Computing library with Hypervector Extensions"
,
long_description
=
open
(
"README.md"
)
.
read
(),
long_description_content_type
=
"text/markdown"
,
url
=
"https://c4science.ch/source/hdtorch/"
,
license
=
"MIT"
,
install_requires
=
[
"torch"
,
"numpy"
,
],
packages
=
find_packages
(
exclude
=
[
"docs"
]),
python_requires
=
">=3.8"
,
project_urls
=
{
"Source"
:
"https://c4science.ch/source/hdtorch/"
,
"Documentation"
:
"https://hdtorch.readthedocs.io"
,
},
)
Event Timeline
Log In to Comment