Changeset 224


Ignore:
Timestamp:
04/13/10 16:06:42 (14 years ago)
Author:
bas
Message:

setup.py.in:

  • fixed an error. Must define that we using 2.4 version
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/setup.py.in

    r222 r224  
    4444        os.symlink('pbs_wrap_2.4.c', 'pbs_wrap.c')
    4545        os.symlink('pbs_2.4.py', 'pbs.py')
     46        TORQUE_VERSION='TORQUE_2_4'
    4647else:
    4748        os.symlink('pbs_wrap_2.1.c', 'pbs_wrap.c')
    4849        os.symlink('pbs_2.1.py', 'pbs.py')
     50        TORQUE_VERSION='TORQUE_OLD'
    4951
    5052os.chdir('..')
     
    6567                Extension( '_pbs', ['src/pbs_wrap.c'],
    6668                library_dirs = [ PBS_LIB_DIR ],
     69                define_macros =  [ (TORQUE_VERSION, None) ],
    6770                libraries = LIBS)
    6871        ]
Note: See TracChangeset for help on using the changeset viewer.