summaryrefslogtreecommitdiff
path: root/contrib/bigsuds-1.0/setup.py
blob: 0e0af95ed264ad0de13dc94468426b1aa514fe56 (plain)
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
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'],
)