5564337ce6
python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. Mainly it wraps the OpenLDAP 2.x libs for that purpose. Additionally the package contains modules for other LDAP-related stuff (e.g. processing LDIF, LDAPURLs, LDAPv3 sub-schema, etc.). Not included: Direct BER support WWW: http://python-ldap.sourceforge.net/ from Marc Balmer <marc@msys.ch>
19 lines
522 B
Plaintext
19 lines
522 B
Plaintext
--- setup.py.orig Wed Aug 20 22:27:10 2003
|
|
+++ setup.py Thu Oct 9 21:34:56 2003
|
|
@@ -27,8 +27,13 @@
|
|
|
|
#-- A class describing the features and requirements of OpenLDAP 2.0
|
|
class OpenLDAP2:
|
|
- library_dirs = []
|
|
- include_dirs = []
|
|
+ localbase = os.getenv('LOCALBASE')
|
|
+ if localbase == None:
|
|
+ localbase = '/usr/local'
|
|
+
|
|
+ library_dirs = ['%s/lib' % localbase]
|
|
+ include_dirs = ['%s/include' % localbase]
|
|
+
|
|
extra_compile_args = []
|
|
extra_link_args = []
|
|
extra_objects = []
|