47 lines
1.7 KiB
Python
47 lines
1.7 KiB
Python
from setuptools import setup, find_packages
|
|
|
|
# Read version from file
|
|
exec(open("ldapuserdir/version.py").read())
|
|
|
|
with open("README.md", "r", encoding="utf-8") as fh:
|
|
long_description = fh.read()
|
|
|
|
setup(
|
|
name="ldapuserdir",
|
|
version=__version__,
|
|
description="Client for interacting with a LDAP user/group directory service",
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
author="User Name",
|
|
author_email="user.name@example.org",
|
|
license="GPLv3+",
|
|
packages=find_packages(),
|
|
scripts=['bin/ldapuserdir-ctl'],
|
|
data_files=[('etc', ['etc/ldapuserdir-ctl.cfg'])],
|
|
install_requires=[
|
|
'python-ldap>=3.0.0',
|
|
],
|
|
python_requires='>=3.6',
|
|
classifiers=[
|
|
'Development Status :: 5 - Production/Stable',
|
|
'Intended Audience :: System Administrators',
|
|
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
|
|
'Natural Language :: English',
|
|
'Operating System :: POSIX :: Linux',
|
|
'Programming Language :: Python :: 3',
|
|
'Programming Language :: Python :: 3.6',
|
|
'Programming Language :: Python :: 3.7',
|
|
'Programming Language :: Python :: 3.8',
|
|
'Programming Language :: Python :: 3.9',
|
|
'Programming Language :: Python :: 3.10',
|
|
'Programming Language :: Python :: 3.11',
|
|
'Programming Language :: Python :: 3.12',
|
|
'Topic :: System :: Systems Administration :: Authentication/Directory :: LDAP',
|
|
],
|
|
keywords='ldap active-directory user group management',
|
|
project_urls={
|
|
'Source': 'https://github.com/example/ldapuserdir',
|
|
'Tracker': 'https://github.com/example/ldapuserdir/issues',
|
|
},
|
|
)
|