Package platformids :: Package custom :: Module linuxmint

Source Code for Module platformids.custom.linuxmint

 1  # -*- coding: utf-8 -*- 
 2  """*LinuxMint*, which actually has a default  
 3  release version layout, and though could be handled  
 4  by the default handler. 
 5   
 6  """ 
 7  from __future__ import absolute_import 
 8   
 9  from platformids import rte2num, num2rte, num2pretty, custom_dist, \ 
10      RTE_LINUX 
11   
12   
13  __author__ = 'Arno-Can Uestuensoez' 
14  __license__ = "Artistic-License-2.0 + Forced-Fairplay-Constraints" 
15  __copyright__ = "Copyright (C) 2019 Arno-Can Uestuensoez" \ 
16                  " @Ingenieurbuero Arno-Can Uestuensoez" 
17  __version__ = '0.0.1' 
18  __uuid__ = "7add5ded-c39b-4b6e-8c87-1b3a1c150ee9" 
19   
20  RTE_LINUXMINT       = RTE_LINUX   + custom_dist.add_enum()     #: LinuxMint 
21  RTE_LINUXMINT191    = RTE_LINUXMINT    + 0x00001480            #: LinuxMint-19.1 
22   
23       
24  #: mapping of the rte string and numeric representation to the numeric value 
25  rte2num.update( 
26      { 
27          'linuxmint':        RTE_LINUXMINT, 
28          RTE_LINUXMINT:      RTE_LINUXMINT, 
29      } 
30  ) 
31   
32   
33  #: mapping of the rte numeric representation to the string value 
34  num2rte.update( 
35      { 
36          RTE_LINUXMINT:          'linuxmint', 
37      } 
38  ) 
39   
40  #: mapping of the rte numeric representation to the string value 
41  num2pretty.update( 
42      { 
43          RTE_LINUXMINT:          'LinuxMint', 
44      } 
45  ) 
46