in the course of this I also decided to change some of the general structure, especially concerning the handling of the MSsfu option. This required a change in the API, regrettably, and to a major version bump. Also I adopted semantiv versioning.
33 lines
1.0 KiB
Python
33 lines
1.0 KiB
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
|
|
#from ldapuserdir.version import __version__
|
|
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']
|
|
)
|
|
|