summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-casadi/package.py
blob: f4f47b771c8dd17cd9eb06bfcc737b0bc3282962 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2024 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 PyCasadi(PythonPackage):
    """CasADi -- framework for algorithmic differentiation and numeric optimization"""

    homepage = "https://web.casadi.org/"
    pypi = "casadi/casadi-3.6.4.tar.gz"

    license("LGPL")

    version("3.6.4", sha256="affdca1a99c14580992cdf34d247754b7d851080b712c2922ad2e92442eeaa35")

    depends_on("py-setuptools", type="build")
    depends_on("py-numpy", type=("build", "run"))