setup.py
1.16 KB
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
from distutils.core import setup, Extension
tn3270 = Extension(
'tn3270',
define_macros = [
('PACKAGE_NAME', '\"python-tn3270\"'),
('PACKAGE_VERSION', '\"5.2\"')
],
include_dirs = ['src/include'],
libraries = ['ipc3270'],
sources = [
'src/action/type.c',
'src/module/init.c',
'src/session/type.c',
'src/action/init.cc',
'src/action/methods.cc',
'src/action/new.cc',
'src/action/tools.cc',
'src/module/properties.cc',
'src/session/network.cc',
'src/session/tools.cc',
'src/session/get.cc',
'src/session/init.cc',
'src/session/wait.cc',
'src/session/misc.cc',
'src/session/set.cc',
'src/session/attributes.cc',
'src/session/actions.cc',
'src/module/windows/init.cc',
'src/module/windows/tools.cc'
])
setup ( name = 'tn3270',
version = '5.2',
description = 'Python bindings for lib3270/pw3270.',
author = 'Perry Werneck',
author_email = 'perry.werneck@gmail.com',
url = 'https://github.com/PerryWerneck/python-tn3270',
long_description = '''
This is an extension allowing tn3270 acess for python applications
using lib3270 directly or ipc calls to an enabled pw3270 window.
''',
ext_modules = [ tn3270 ])