-
Notifications
You must be signed in to change notification settings - Fork 44
/
setup.py
57 lines (49 loc) · 1.76 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
49
50
51
52
53
54
55
56
57
#!/usr/bin/env python
import os
import sys
from os.path import join, dirname
sys.path.append(join(dirname(__file__), 'src'))
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
execfile(join(dirname(__file__), 'src', 'SudsLibrary', 'version.py'))
DESCRIPTION = """
SudsLibrary is a web service testing library for Robot Framework
that leverages Suds to test SOAP-based services.
""".strip()
CLASSIFIERS = """
Development Status :: 5 - Production/Stable
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent
Programming Language :: Python
Topic :: Software Development :: Testing
""".strip().splitlines()
# determine whether to use Jurko's fork of Suds. This will only work for source
# distributions.
jurko = False
try:
import suds
jurko = 'jurko' in suds.__version__
except:
pass
suds_rqmnt = 'suds >= 0.4' if not jurko else 'suds-jurko'
suds_rqmnt = os.environ.get('SUDS_LIBRARY_SUDS_REQUIREMENT', suds_rqmnt)
setup(name = 'robotframework-sudslibrary',
version = VERSION,
description = 'Robot Framework test library for SOAP-based services.',
long_description = DESCRIPTION,
author = 'Kevin Ormbrek',
author_email = '<[email protected]>',
url = 'https://github.com/ombre42/robotframework-sudslibrary',
license = 'Apache License 2.0',
keywords = 'robotframework testing testautomation soap suds web service',
platforms = 'any',
classifiers = CLASSIFIERS,
zip_safe = True,
install_requires = [
suds_rqmnt,
'robotframework >= 2.6.0',
],
package_dir = {'' : 'src'},
packages = ['SudsLibrary']
)