diff options
author | Andrew W Elble <aweits@rit.edu> | 2021-03-01 14:01:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-01 19:01:57 +0000 |
commit | 1abfebb5e942a4ed4c3ea97c14fcf06915da5069 (patch) | |
tree | 0a41a7a2910eec8555aa8976db8797b8690b608a /var | |
parent | 44ed19daa4b4587ee5cd29357ebfbe1925f04496 (diff) | |
download | spack-1abfebb5e942a4ed4c3ea97c14fcf06915da5069.tar.gz spack-1abfebb5e942a4ed4c3ea97c14fcf06915da5069.tar.bz2 spack-1abfebb5e942a4ed4c3ea97c14fcf06915da5069.tar.xz spack-1abfebb5e942a4ed4c3ea97c14fcf06915da5069.zip |
py-cython-bbox: new package (#22022)
* py-cython-bbox: new package
* pypi url fix
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-cython-bbox/package.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-cython-bbox/package.py b/var/spack/repos/builtin/packages/py-cython-bbox/package.py new file mode 100644 index 0000000000..b0411fe56c --- /dev/null +++ b/var/spack/repos/builtin/packages/py-cython-bbox/package.py @@ -0,0 +1,21 @@ +# 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) + + +class PyCythonBbox(PythonPackage): + """cython_bbox is widely used in object detection tasks. To my + best knowledge, it was first implemented in Faster-RCNN. Since + then, almost all object detection projects use the source code + directly. In order to use it in standalone code snippets or small projects, + I make it a pypi module. The cython_bbox.pyx is totally borrowed + from Faster-RCNN. Thanks RBG!""" + + homepage = "https://github.com/samson-wang/cython_bbox.git" + pypi = "cython-bbox/cython_bbox-0.1.3.tar.gz" + + version('0.1.3', sha256='82e2d887534ecc10d3507489a05b11259f3baacd29eee37e6d8c97e1ffb16554') + depends_on('py-setuptools', type='build') + depends_on('py-cython', type='build') + depends_on('py-numpy', type=('build', 'run')) |