forked from ioggstream/fakeldap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (40 loc) · 1.33 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
48
from setuptools import setup, find_packages
import os
import sys
from fakeldap import __version__
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
extra = {}
requirements = [],
tests_require = ['nose', 'Mock', 'coverage', 'unittest2']
# In case we use python3
if sys.version_info >= (3,):
extra['use_2to3'] = True
setup(
name = "fakeldap",
version = __version__,
#packages = find_packages('fakeldap'),
#include_package_data=True,
py_modules = ['fakeldap'],
install_requires = requirements,
tests_require=tests_require,
setup_requires='nose',
test_suite = "nose.collector",
extras_require={'test': tests_require},
author = "Christo Buschek",
author_email = "[email protected]",
url = "https://github.com/30loops/fakeldap",
description = "An implementation of a LDAPObject to fake a ldap server in unittests.",
long_description = read('README.rst'),
classifiers = [
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Testing',
],
**extra
)