summaryrefslogtreecommitdiff
path: root/contrib/bigsuds-1.0/setup.py
diff options
context:
space:
mode:
authorPaul C. Buetow <paul@buetow.org>2014-04-15 22:31:14 +0200
committerPaul C. Buetow <paul@buetow.org>2014-04-15 22:31:14 +0200
commit0331deca1387a428a8ffb880e1261899842a6513 (patch)
tree3e439936a7459e34c397ed9ad4f4f84f4b53f060 /contrib/bigsuds-1.0/setup.py
parentc6aae329b95f00ff6d20c203ca8e86d727ab5772 (diff)
add contrib dir
Diffstat (limited to 'contrib/bigsuds-1.0/setup.py')
-rw-r--r--contrib/bigsuds-1.0/setup.py34
1 files changed, 34 insertions, 0 deletions
diff --git a/contrib/bigsuds-1.0/setup.py b/contrib/bigsuds-1.0/setup.py
new file mode 100644
index 0000000..0e0af95
--- /dev/null
+++ b/contrib/bigsuds-1.0/setup.py
@@ -0,0 +1,34 @@
+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',
+ ],
+ keywords='f5 icontrol',
+ author='F5 Networks, Inc.',
+ author_email='info@f5.com',
+ url='http://devcentral.f5.com',
+ install_requires=['suds>=0.4'],
+ py_modules=['bigsuds'],
+ test_suite='nose.collector',
+ tests_require=['nose', 'mock', 'mox'],
+)