diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/py-installer/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-installer/package.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-installer/package.py b/var/spack/repos/builtin/packages/py-installer/package.py new file mode 100644 index 0000000000..5e3df1bdde --- /dev/null +++ b/var/spack/repos/builtin/packages/py-installer/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 PyInstaller(PythonPackage): + """A library for installing Python wheels.""" + + homepage = "https://github.com/pradyunsg/installer" + pypi = "installer/installer-0.4.0.tar.gz" + + version('0.4.0', sha256='17d7ca174039fbd85f268e16042e3132ebb03d91e1bbe0f63b9ec6b40619414a') + + depends_on('python@2.7,3.5:', type=('build', 'run')) + depends_on('py-flit-core@2', type='build') + depends_on('py-configparser@3.5:', when='^python@:2', type=('build', 'run')) + depends_on('py-importlib-resources', when='^python@:3.6', type=('build', 'run')) |