-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
38 lines (34 loc) · 1.1 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
import io
from glob import glob
from os.path import basename, dirname, join, splitext
from setuptools import setup, find_packages
from src.lpconnector import __version__
def read(fname):
return io.open(join(dirname(__file__), fname)).read()
setup(
name="lpconnector",
version=__version__,
url="https://www.github.com/OctaneLending/lastpass-ldap-syc",
author="Joshua Marcus-Hixson",
description="Connect remote LDAP to LastPass Enterprise API",
platforms="any",
setup_requires=['pytest-runner'],
tests_require=['pytest', 'pytest-cov', 'pytest-sugar', 'pytest-timeout', 'mock'],
install_requires=[
'python-ldap==3.0.0',
'requests==2.20.0',
'docopt==0.6.2',
],
packages=find_packages('src'),
package_dir={'': 'src'},
py_modules=[splitext(basename(path))[0] for path in glob('src/*.py')],
include_package_data=True,
zip_safe=False,
long_description=read('README.rst'),
entry_points={
'console_scripts': [
'lpconnector=lpconnector.__main__:main',
],
},
)