forked from jirutka/ssh-ldap-pubkey
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·47 lines (42 loc) · 1.26 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/usr/bin/env python
import sys
# Fix encoding problem on Legacy Python.
if sys.version_info < (3, 0):
reload(sys)
sys.setdefaultencoding('utf8')
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
try:
from pypandoc import convert
read_md = lambda f: convert(f, 'rst')
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
read_md = lambda f: open(f, 'r').read()
setup(
name='ssh-ldap-pubkey',
version='1.3.2',
url='https://github.com/jirutka/ssh-ldap-pubkey',
description='Utility to manage SSH public keys stored in LDAP.',
long_description=read_md('README.md'),
author='Jakub Jirutka',
author_email='[email protected]',
license='MIT',
packages=['ssh_ldap_pubkey'],
scripts=['bin/ssh-ldap-pubkey', 'bin/ssh-ldap-pubkey-wrapper'],
install_requires=[
'docopt',
'pyldap'
],
classifiers=[
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: System',
'Topic :: Utilities'
]
)