- basic syntax fixes - bytestring to utf8 conversions - __init__.py import problem fix
31 lines
1021 B
Python
31 lines
1021 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
|
|
|
|
# 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__
|
|
# py2.7 way: execfile('ldapuserdir/version.py')
|
|
exec(open("ldapuserdir/version.py").read())
|
|
|
|
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",
|
|
packages=['ldapuserdir'],
|
|
scripts=['bin/ldapuserdir-ctl'],
|
|
|
|
# following format is (targetdir,[list of files])
|
|
data_files=[('etc', ['etc/ldapuserdir-ctl.cfg'])],
|
|
|
|
#install_requires=['python-ldap']
|
|
)
|