summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-installer/package.py
blob: a00c89ef18c2cb1cbf6511e36cf7d21b694f9dda (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright 2013-2022 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.package 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")