Outils personnels
Vous êtes ici : Accueil Blog Installer la libraire python-ldap
Navigation
 
Actions sur le document

Installer la libraire python-ldap

Filed Under:

Télécharger la version de python-ldap sur http://python-ldap.sourceforge.net/

Télécharger la version de python-ldap surhttp://python-ldap.sourceforge.net/

# $Id: setup.cfg.suse-linux,v 1.1 2003/08/20 10:04:34 stroeder Exp $

[_ldap]
# Section for compiling the C extension module
# for wrapping OpenLDAP 2 libs

library_dirs = /usr/lib /usr/local/lib
include_dirs = /usr/local/include /usr/include/

extra_compile_args = 
extra_objects =

# Example for full-featured SuSE build:
# Support for StartTLS/LDAPS, SASL bind and reentrant libldap_r.
# This needs recent OpenLDAP 2.0.26+ or 2.1.3+ built with
# ./configure --with-cyrus-sasl --with-tls

libs = ldap_r lber

[install]
# Installation options
compile = 1
optimize = 1
/home/sofibra/Zopita/bin/python setup.py build
/home/sofibra/Zopita/bin/python setup.py install

Pour tester faire

/home/sofibra/Zopita/bin/python -c "import ldap"
Si pas d'erreur c bon