Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92334057
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
Tue, Nov 19, 11:38
Size
944 B
Mime Type
text/x-python
Expires
Thu, Nov 21, 11:38 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22425258
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