[python-ldap] default setup.cfg for PyPI and setup tools

Michael Ströder michael at stroeder.com
Thu Nov 17 20:38:04 CET 2011


I'm trying to improve the default setup.cfg shipped in python-ldap source
distribution on PyPI to accomodate most platforms.

The problems are:

1. There's no such thing like autoconf before. So the defines have to be set
in advance without knowing something about the platform installation.

2. The OpenLDAP libs can be build with or without SASL and SSL/TLS support and
there are currently three different SSL/TLS implementations supported
(OpenSSL, libnss, GnuTLS).

I've checked in a version of setup.cfg to CVS HEAD which directly contains the
defines instead of deriving them from libs. Please test this on your platform.
Especially Debian/Ubuntu with OpenLDAP libs linked against GnuTLS and Red Hat
with OpenLDAP libs linked against libnss should test whether this works out of
the box.

Ciao, Michael.

More information about the python-ldap mailing list