Commit 3dda0800cdafc1f21196981bdbb3dfbf7487b487

Authored by Perry Werneck
1 parent ca0bc53c
Exists in master

Adding standard setup.py file.

Showing 1 changed file with 32 additions and 0 deletions   Show diff stats
setup.py 0 → 100644
... ... @@ -0,0 +1,32 @@
  1 +from distutils.core import setup, Extension
  2 +
  3 +tn3270 = Extension('tn3270',
  4 + define_macros = [('MAJOR_VERSION', '5'), ('MINOR_VERSION', '2')],
  5 + include_dirs = ['src/include'],
  6 + libraries = ['ipc3270'],
  7 + library_dirs = ['/usr/lib64'],
  8 + sources = [
  9 + 'src/action/type.c',
  10 + 'src/module/init.c',
  11 + 'src/session/type.c',
  12 + 'src/action/init.cc',
  13 + 'src/action/methods.cc',
  14 + 'src/action/new.cc',
  15 + 'src/action/tools.cc',
  16 + 'src/module/properties.cc',
  17 + 'src/session/network.cc',
  18 + 'src/session/tools.cc',
  19 + 'src/session/get.cc',
  20 + 'src/session/init.cc',
  21 + 'src/session/wait.cc',
  22 + 'src/session/misc.cc',
  23 + 'src/session/set.cc',
  24 + 'src/session/attributes.cc',
  25 + 'src/session/actions.cc'
  26 + ])
  27 +
  28 +setup ( name = 'tn3270',
  29 + version = '5.2',
  30 + description = 'TN3270 module.',
  31 + ext_modules = [ tn3270 ])
  32 +
... ...