spack/var/spack/repos/builtin/packages/py-cylp/package.py
Harmen Stoppels fce95e2efb
license year bump (#34921)
* license bump year
* fix black issues of modified files
* mypy
* fix 2021 -> 2023
2023-01-18 14:30:17 -08:00

29 lines
953 B
Python

# Copyright 2013-2023 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 PyCylp(PythonPackage):
"""A Python interface for CLP, CBC, and CGL.
CyLP is a Python interface to COIN-OR's Linear and mixed-integer program
solvers (CLP, CBC, and CGL). CyLP's unique feature is that you can use it
to alter the solution process of the solvers from within Python.
"""
homepage = "https://github.com/coin-or/cylp"
pypi = "cylp/cylp-0.91.5.tar.gz"
version("0.91.5", sha256="d68ab1dde125be60abf45c8fd9edd24ab880c8144ad881718ddfa01ff6674c77")
depends_on("py-setuptools", type="build")
depends_on("py-cython@:2", type="build")
depends_on("py-numpy@1.5:", type=("build", "run"))
depends_on("py-scipy@0.10.0:", type=("build", "run"))
depends_on("cbc")