forked from F5Networks/bigsuds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
35 lines (32 loc) · 1.16 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
from setuptools import setup
import re
def extract_version(filename):
contents = open(filename).read()
match = re.search('^__version__\s+=\s+[\'"](.*)[\'"]\s*$', contents, re.MULTILINE)
if match is not None:
return match.group(1)
setup(
name="bigsuds",
version=extract_version('bigsuds.py'),
description='Library for F5 Networks iControl API',
license='https://devcentral.f5.com/resources/devcentral-eula',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.4',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='f5 icontrol',
author='F5 Networks, Inc.',
author_email='devcentral@f5.com',
url='http://devcentral.f5.com',
install_requires=['suds-jurko>=0.6'],
py_modules=['bigsuds'],
test_suite='nose.collector',
tests_require=['nose', 'mock', 'mox'],
)