forked from nokia/crl-remotescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
46 lines (36 loc) · 1.43 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
# -*- coding: utf-8 -*-
import os
import imp
from setuptools import setup, find_packages
__copyright__ = 'Copyright (C) 2019, Nokia'
VERSIONFILE = os.path.join(
os.path.dirname(os.path.abspath(__file__)),
'src', 'crl', 'remotescript', '_version.py')
def get_version():
return imp.load_source('_version', VERSIONFILE).get_version()
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
setup(
name='crl.remotescript',
version=get_version(),
author='Zoltán Veres',
author_email='[email protected]',
description='Robot test library for executing shell commands and scripts over SSH '
'and Telnet and transferring files over SFTP, SCP and FTP protocols',
install_requires=['robotframework', 'paramiko'],
long_description=read('README.rst'),
license='BSD-3-Clause',
classifiers=['Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development'],
keywords='SSH Telnet SFTP FTP',
url='https://github.com/nokia/crl-remotescript',
packages=find_packages('src'),
package_dir={'': 'src'},
namespace_packages=['crl'],
entry_points={'robotdocsconf': [
'robotdocsconf = crl.remotescript.robotdocsconf:robotdocs']}
)