Changeset 237


Ignore:
Timestamp:
04/29/10 13:40:08 (14 years ago)
Author:
bas
Message:

New version 4.1.0:

  • see CHANGES file, closes #20
Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/CHANGES

    r233 r237  
     1=========== 4.1.0
     2 * Delete function pbs.version() replaced by
     3    * pbs.version
     4        This is a string variable
     5    * pbs.version_info
     6        Is a tuple variable. So we can use it in scripts
     7
     8   This analogue with sys module, closes #20
     9
     10   Requested by: Dennis Stam ( Dennis dot Stam add sara dot nl )
     11   Author: Bas van der Vlies
     12
     13 * More robust make/configure/setup.py
     14   Reported by:
     15        - Saidi, Yacine <saidi add linmpi dot mpg dot de>
     16        - Shunjie Lau <eijnuhs add gmail dot com>
     17   Author: Bas van der Vlies
     18
     19
     20 * Only use the pbs_wrap.c and pbs.py 2.4 version for torque version 2.4.7 and higher.
     21   Reported by: Saidi, Yacine <saidi add linmpi dot mpg dot de>
     22   Author: Bas van der Vlies
     23   
    124=========== 4.0.2
    225  * Quick fix so we do not get any undefined symbols. Forgot to
  • trunk/debian/changelog

    r233 r237  
     1pbs-python (4.1.0-1) lenny; urgency=low
     2
     3  * See CHANGES file
     4
     5 -- bas van der Vlies <bas@sara.nl>  Thu, 29 Apr 2010 13:24:24 +0200
     6
    17pbs-python (4.0.2-1) lenny; urgency=low
    28
  • trunk/pbs_python.spec

    r233 r237  
    44
    55Name: pbs_python
    6 Version: 4.0.2
     6Version: 4.1.0
    77Release: 1%{?dist}
    88License: See LICENSE
  • trunk/setup.py.in

    r236 r237  
    2727VERSION = "@pbs_version@"
    2828tmp = VERSION.split('.')
    29 major_version = '.'.join( tmp[0:2] )
    3029
     30major_version = int(tmp[0])
     31minor_version = int(tmp[1])
     32build_version = int(tmp[2])
    3133
    3234os.chdir('src')
     
    4042        pass
    4143
    42 if major_version in [ '2.4' ]:
     44if major_version  >= 2 and minor_version >= 4 and build_version >= 7:
    4345        os.symlink('pbs_wrap_2.4.c', 'pbs_wrap.c')
    4446        os.symlink('pbs_2.4.py', 'pbs.py')
  • trunk/src/pbs_2.1.py

    r220 r237  
    617617  return d
    618618
    619 def version():
    620   """
    621   Returns the pbs python interface version as a string.
    622   """
    623   return '4.0.0'
     619version_info = ( 4, 1, 0 )
     620version = 'SARA pbs_python version 4.1.0'
    624621
    625622# A useful dict with error codes to text
  • trunk/src/pbs_2.4.py

    r220 r237  
    625625  return d
    626626
    627 def version():
    628   """
    629   Returns the pbs python interface version as a string.
    630   """
    631   return '4.0.0'
     627version_info = ( 4, 1, 0 )
     628version = 'SARA pbs_python version 4.1.0'
    632629
    633630# A useful dict with error codes to text
Note: See TracChangeset for help on using the changeset viewer.