mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-10 19:16:34 +03:00
License fixes.
This commit is contained in:
parent
b17acddcf5
commit
2d26f22778
17
LICENSE
17
LICENSE
|
@ -1,3 +1,6 @@
|
|||
psycopg and the GPL
|
||||
===================
|
||||
|
||||
psycopg 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 2 of the License, or
|
||||
|
@ -7,6 +10,19 @@ As a special exception, specific permission is granted for the GPLed
|
|||
code in this distribition to be linked to OpenSSL and PostgreSQL libpq
|
||||
without invoking GPL clause 2(b).
|
||||
|
||||
Note that the GPL was chosen to avoid proprietary adapters based on
|
||||
psycopg code. Using psycopg in a proprietary product (even bundling
|
||||
psycopg with the proprietary product) is fine as long as:
|
||||
|
||||
1. psycopg is called from Python only using only the provided API
|
||||
(i.e., no linking with C code and no C modules based on it); and
|
||||
|
||||
2. all the other points of the GPL are respected (you offer a copy
|
||||
of psycopg's source code, and so on.)
|
||||
|
||||
Alternative licenses
|
||||
====================
|
||||
|
||||
If you prefer you can use the Zope Database Adapter ZPsycopgDA (i.e.,
|
||||
every file inside the ZPsycopgDA directory) user the ZPL license as
|
||||
published on the Zope web site, http://www.zope.org/Resources/ZPL.
|
||||
|
@ -33,3 +49,4 @@ psycopg 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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user