from cvxopt import __version__ as version

def license(): print(
"""
CVXOPT. 
Copyright (c) 2012-2016 M. Andersen and L. Vandenberghe.
Copyright (c) 2010-2011 L. Vandenberghe.
Copyright (c) 2004-2009 J. Dahl and L. Vandenberghe.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

----
The CVXOPT distribution includes source code for a subset of the 
SuiteSparse suite of sparse matrix algorithms (version 4.1.0). 
This includes:

- AMD Version 2.3.1. Copyright (c) 2009-2012 by Timothy A. Davis, 
  Patrick R.  Amestoy, and Iain S. Duff.
- CHOLMOD Version 2.1.0 Copyright (c) 2005-2013 by University of Florida,
  Timothy A. Davis, and W. Hager.
- COLAMD version 2.8.0.  Copyright (c) 1998-2012 by Timothy A. Davis.
- UMFPACK Version 5.6.1. Copyright (c) 1995-2012 by Timothy A. Davis.

These packages are licensed under the terms of the GNU General Public 
License, version 2 or higher (UMFPACK, the Supernodal and MatrixOPs
modules of CHOLMOD) and the GNU Lesser General Public License, 
version 2.1 or higher (the other CHOLMOD modules, AMD, COLAMD).  
For copyright and license details, consult the README files in the source 
directories or the website listed below.

Availability: www.cise.ufl.edu/research/sparse. 
"""
)
