-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·46 lines (39 loc) · 1.29 KB
/
setup.py
File metadata and controls
executable file
·46 lines (39 loc) · 1.29 KB
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
#!/usr/bin/env python
import sys
import os
sys.path.append(
os.path.join(os.path.dirname(os.path.abspath(__file__)), 'src'))
from setuptools import setup
from setuptools import find_packages
import pyws
short_description = 'Python SOAP server providing WSDL'
long_description = \
'''
Pyws is a project, which purpuse is to help developers to expose some
functions of their systems as public APIs via SOAP with WSDL description.
The main idea is to let developers completely forget about SOAP itself and
make creating of APIs fast and painless.
'''
extra_requires = []
minor_version = sys.version_info[1]
if minor_version < 5:
raise Exception('pyws works only on python >= 2.5')
elif minor_version == 5:
extra_requires += ['simplejson', 'ssl']
if 'develop' in sys.argv:
extra_requires += ['unittest2', 'suds']
setup(
name='pyws',
version=pyws.VERSION,
package_dir={'': 'src'},
packages=find_packages('src'),
description=short_description,
long_description=long_description,
keywords=['soap', 'wsdl', 'server', 'xml', 'json', 'web services'],
author='Stepan N. Kornyakov',
author_email='stepankk@gmail.com',
url='https://github.com/stepank/pyws',
license='MIT',
platforms=['Any'],
install_requires=['lxml'] + extra_requires,
)