diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2021-07-21 14:25:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-21 19:25:04 +0000 |
commit | df8e51d6e52922e21b86c1c2340a70e12252103c (patch) | |
tree | 6fd573fbe4a856ab843530386dfeef9e6df92fae | |
parent | 5a49264e197576d55ef89c1e3452c67cc571b681 (diff) | |
download | spack-df8e51d6e52922e21b86c1c2340a70e12252103c.tar.gz spack-df8e51d6e52922e21b86c1c2340a70e12252103c.tar.bz2 spack-df8e51d6e52922e21b86c1c2340a70e12252103c.tar.xz spack-df8e51d6e52922e21b86c1c2340a70e12252103c.zip |
py-timm: add new package (#25019)
-rw-r--r-- | var/spack/repos/builtin/packages/py-timm/package.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-timm/package.py b/var/spack/repos/builtin/packages/py-timm/package.py new file mode 100644 index 0000000000..3799ca3aea --- /dev/null +++ b/var/spack/repos/builtin/packages/py-timm/package.py @@ -0,0 +1,20 @@ +# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class PyTimm(PythonPackage): + """(Unofficial) PyTorch Image Models.""" + + homepage = "https://github.com/rwightman/pytorch-image-models" + pypi = "timm/timm-0.4.12.tar.gz" + + version('0.4.12', sha256='b14be70dbd4528b5ca8657cf5bc2672c7918c3d9ebfbffe80f4785b54e884b1e') + + depends_on('python@3.6:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-torch@1.4:', type=('build', 'run')) + depends_on('py-torchvision', type=('build', 'run')) |