File: setup.py

package info (click to toggle)
txwinrm 1.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,480 kB
  • sloc: python: 4,449; xml: 517; sh: 59; makefile: 12
file content (43 lines) | stat: -rwxr-xr-x 1,338 bytes parent folder | download
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
#!/usr/bin/env python

##############################################################################
#
# Copyright (C) Zenoss, Inc. 2013-2017, all rights reserved.
#
# This content is made available according to terms specified in the LICENSE
# file at the top-level directory of this package.
#
##############################################################################

setup_kwargs = dict(
    name='txwinrm',
    version='1.3.3',
    description='Asynchronous Python WinRM client',
    long_description=open('README.rst').read(),
    license='See LICENSE file',
    author='Zenoss',
    author_email='dbouchillon@zenoss.com',
    url='https://github.com/zenoss/txwinrm',
    packages=['txwinrm', 'txwinrm.request'],
    package_data={'txwinrm.request': ['*.xml']},
    test_suite='txwinrm.test',
    scripts=[
        'scripts/winrm',
        'scripts/winrs',
        'scripts/wecutil',
        'scripts/typeperf',
        'scripts/genkrb5conf'])

try:
    from setuptools import setup
    setup_kwargs['install_requires'] = ['twisted', 'pykerberos', 'pyOpenSSL']
    try:
        import argparse
        if False:
            argparse
    except ImportError:
        setup_kwargs['install_requires'].append('argparse')
    setup(**setup_kwargs)
except ImportError:
    from distutils.core import setup
    setup(**setup_kwargs)