Files
ldapuserdir/setup.py
Derek Feichtinger 6da52b2950 Version for python 3.6
- basic syntax fixes
- bytestring to utf8 conversions
- __init__.py import problem fix
2019-05-11 12:34:44 +02:00

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']
)