forked from MarketSquare/SSHLibrary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·49 lines (46 loc) · 1.61 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
43
44
45
46
47
48
49
#!/usr/bin/env python
import re
import sys
import os
from os.path import abspath, dirname, join
from setuptools import setup
CURDIR = dirname(abspath(__file__))
REQUIREMENTS = ['robotframework >= 3.0']
if not sys.platform.startswith('java'):
REQUIREMENTS.append('paramiko >= 1.15.3')
REQUIREMENTS.append('scp >= 0.13.0')
if sys.version_info[0] < 3 and os.name == 'nt':
REQUIREMENTS.append('win_inet_pton >= 1.1.0')
with open(join(CURDIR, 'src', 'SSHLibrary', 'version.py')) as f:
VERSION = re.search("\nVERSION = '(.*)'", f.read()).group(1)
with open(join(CURDIR, 'README.rst')) as f:
DESCRIPTION = f.read()
CLASSIFIERS = '''
Development Status :: 5 - Production/Stable
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Topic :: Software Development :: Testing
Framework :: Robot Framework
Framework :: Robot Framework :: Library
'''.strip().splitlines()
setup(
name='robotframework-sshlibrary',
version=VERSION,
description='Robot Framework test library for SSH and SFTP',
long_description=DESCRIPTION,
author='Robot Framework Developers',
author_email='[email protected]',
url='https://github.com/robotframework/SSHLibrary',
license='Apache License 2.0',
keywords='robotframework testing testautomation ssh sftp',
platforms='any',
classifiers=CLASSIFIERS,
install_requires=REQUIREMENTS,
package_dir={'': 'src'},
packages=['SSHLibrary']
)