32 lines
1011 B
Python
32 lines
1011 B
Python
#from setuptools import setup, find_packages
|
|
#from distutils.core import setup
|
|
|
|
# we use the distribute framework that has a backward compatible invocation
|
|
# to the setuptools
|
|
from setuptools import setup, find_packages
|
|
|
|
# we get the package version from inside our package, since we then
|
|
# can use it also from within the package
|
|
execfile('ldapuserdir/version.py')
|
|
|
|
setup(
|
|
name = "ldapuserdir",
|
|
version = __version__,
|
|
description = "Client for interacting with a LDAP user/group directory service",
|
|
long_description = "Client for listing user and group information and"
|
|
+ " for managing group memberships",
|
|
author = "Derek Feichtinger",
|
|
author_email = "derek.feichtinger@psi.ch",
|
|
license = "GPL",
|
|
# url =
|
|
#packages = find_packages('sigateway'),
|
|
packages = ['ldapuserdir'],
|
|
scripts = ['bin/ldapuserdir-ctl'],
|
|
|
|
# following format is (targetdir,[list of files])
|
|
data_files = [('etc',['etc/ldapuserdir-ctl.cfg'])],
|
|
|
|
install_requires = ['python-ldap']
|
|
)
|
|
|