forked from Hackman238/txwinrm
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
42 lines (39 loc) · 1.27 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
36
37
38
39
40
41
42
#!/usr/bin/env python
##############################################################################
#
# Copyright (C) Zenoss, Inc. 2013, 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.1.23dev',
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']},
scripts=[
'scripts/winrm',
'scripts/winrs',
'scripts/wecutil',
'scripts/typeperf',
'scripts/genkrb5conf'])
try:
from setuptools import setup
setup_kwargs['install_requires'] = ['twisted', 'kerberos', '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)