Package platformids :: Package custom :: Module aix

Source Code for Module platformids.custom.aix

 1  # -*- coding: utf-8 -*- 
 2  """AIX releases - current for internal study only based on an outdated system on the x86 platform. 
 3   
 4  Uses standard numbering scheme, thus requires new enum definitions only.  
 5  """ 
 6  from __future__ import absolute_import 
 7   
 8  from platformids import rte2num, num2rte, num2pretty, custom_dist, \ 
 9      RTE_UNIX 
10   
11  __author__ = 'Arno-Can Uestuensoez' 
12  __license__ = "Artistic-License-2.0 + Forced-Fairplay-Constraints" 
13  __copyright__ = "Copyright (C) 2010-2018 Arno-Can Uestuensoez" \ 
14                  " @Ingenieurbuero Arno-Can Uestuensoez" 
15  __version__ = '0.0.1' 
16  __uuid__ = "7add5ded-c39b-4b6e-8c87-1b3a1c150ee9" 
17   
18   
19  RTE_AIX       =  RTE_UNIX      + custom_dist.add_enum()   #: UNIX/Solaris, as Posix system [POSIX]_. 
20   
21  RTE_AIX13PS2  =  RTE_AIX       + 0x00000460  #: AIX-1.3 / PS/2  
22       
23       
24  #: mapping of the rte string and numeric representation to the numeric value 
25  rte2num.update( 
26      { 
27          'aix': RTE_AIX, 
28          'aix13': RTE_AIX13PS2, 
29          RTE_AIX: RTE_AIX, 
30          RTE_AIX13PS2: RTE_AIX13PS2, 
31     } 
32  ) 
33   
34   
35  #: mapping of the rte numeric representation to the string value 
36  num2rte.update( 
37      { 
38          RTE_AIX: 'aix', 
39          RTE_AIX13PS2: 'aix13', 
40      } 
41  ) 
42   
43  #: mapping of the rte numeric representation to the pretty string value 
44  num2pretty.update( 
45      { 
46          RTE_AIX: 'AIX', 
47          RTE_AIX13PS2: 'AIX-1.3 PS/2', 
48      } 
49  ) 
50