diff --git a/README.rst b/README.rst index 9edda59..798f031 100644 --- a/README.rst +++ b/README.rst @@ -13,6 +13,8 @@ The pool has useful features like: - configurable max lifetime for connectors - a context manager to simplify acquiring and releasing a connector +**You need python-ldap in order to use this library** + Quickstart :::::::::: diff --git a/setup.py b/setup.py index c76d347..c44d4a9 100644 --- a/setup.py +++ b/setup.py @@ -33,18 +33,17 @@ # the terms of any one of the MPL, the GPL or the LGPL. # # ***** END LICENSE BLOCK ***** -from setuptools import setup, find_packages +from distutils import setup -install_requires = ['python-ldap'] - with open('README.rst') as f: README = f.read() -setup(name='ldappool', version='0.9', packages=find_packages(), +setup(name='ldappool', version='0.9', + packages=['ldappool', 'ldappool.tests'], author='Mozilla Services', author_email='services-dev@mozilla.org', description="A connection pool for python-ldap", long_description=README, url='https://github.com/mozilla-services/ldappool', - install_requires=install_requires) + licence="MPL")