|
PythonAdInstallation
This page explains the Python-AD installation. PrerequisitesPython-AD depends on the following software packages. These must be installed before Python-AD can be installed or used.
InstallationBecause Python-AD uses distutils, installation is easy: $ python setup.py build $ python setup.py install TestingPython-AD comes with an extensive test suite. To run the tests, you first need the py.test tool from the py library. Follow the steps below to run the tests: $ cp test.conf.example test.conf $ vi test.conf $ eval `python env.py` $ python setup.py test The file test.conf contains the test configuration. A lot of options are available for e.g. testing Python-AD against a real Active Directory. Please see inside this file for help on how to enable these tests. |
Sign in to add a comment
For Ubuntu Intrepid Ibex I installed the following packages to build this (some of these might have not been needed): python-setuptools python-ldap python-dns python-ply python-nose python2.5-dev python-kerberos libkrb5-dev libldap2-dev python-dnspython libsasl2-modules-gssapi-mit
I use this set of packages: python-ldap libsasl2-modules-gssapi-mit python-dnspython python-ply libkrb5-dev python-dev