forked from ulope/pytest-sftpserver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
63 lines (51 loc) · 1.56 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
from setuptools import setup, find_packages, Command
version = __import__('pytest_sftpserver').get_version()
class Test(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import subprocess
raise SystemExit(subprocess.call(['tox']))
with open("README.rst", "r") as readme:
README = readme.read()
setup(
name='pytest-sftpserver',
version=version,
author='Ulrich Petri',
author_email='[email protected]',
license='MIT License',
description='py.test plugin to locally test sftp server connections.',
long_description=README,
url='http://github.com/ulope/pytest-sftpserver/',
packages=find_packages(),
package_data={"pytest_sftpserver": ["keys/*.pub", "keys/*.priv"]},
install_requires=[
"paramiko",
"six",
],
tests_require=[
'tox',
],
entry_points={
'pytest11': ['sftpserver = pytest_sftpserver.plugin']
},
cmdclass={
'test': Test
},
zip_safe=False,
keywords='py.test pytest plugin server local sftp localhost',
classifiers=[
'Operating System :: OS Independent',
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Software Development :: Testing'
]
)