forked from snoack/ssh4py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
26 lines (24 loc) · 1.25 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
import sys
from distutils.core import setup, Extension
VERSION = '0.7.1'
setup(name='libssh2-python',
version=VERSION,
ext_modules=[Extension('libssh2', sources=['src/ssh2.c',
'src/session.c',
'src/channel.c',
'src/sftp.c',
'src/sftphandle.c',
'src/listener.c'],
depends=['src/ssh2.h',
'src/session.h',
'src/channel.h',
'src/sftp.h',
'src/sftphandle.h',
'src/listener.h'],
libraries=['ssl', 'crypto', 'ssh2', 'z'],
define_macros=[('MODULE_VERSION', '"%s"' % VERSION)])],
description='Python bindings for libssh2',
author='Sebastian Noack',
author_email='[email protected]',
url='http://www.libssh2.org/',
license='LGPL')