Package platformids :: Module map_enum_labels

Source Code for Module platformids.map_enum_labels

 1  # -*- coding: utf-8 -*- 
 2  """Mapping of numeric and symbolic enum strings, optional loaded on demand for human display of debug info only. 
 3  """ 
 4  from __future__ import absolute_import 
 5   
 6  __author__ = 'Arno-Can Uestuensoez' 
 7  __license__ = "Artistic-License-2.0 + Forced-Fairplay-Constraints" 
 8  __copyright__ = "Copyright (C) 2010-2018 Arno-Can Uestuensoez" \ 
 9                  " @Ingenieurbuero Arno-Can Uestuensoez" 
10  __version__ = '0.1.28' 
11  __uuid__ = "7add5ded-c39b-4b6e-8c87-1b3a1c150ee9" 
12   
13  __docformat__ = "restructuredtext en" 
14   
15  from platformids import num2enumstr  # @UnusedImport 
16  from platformids import *  # @UnusedWildImport 
17  from platformids.dist import *  # @UnusedWildImport 
18   
19   
20  #: mapping of the numeric value to it's symbolic representation 
21  num2enumstr.update( 
22      { 
23          RTE_BSD: "RTE_BSD", 
24          RTE_CENTOS: "RTE_CENTOS", 
25          RTE_DARWIN: "RTE_DARWIN", 
26          RTE_DEBIAN: "RTE_DEBIAN", 
27          RTE_FEDORA: "RTE_FEDORA", 
28          RTE_LINUX: "RTE_LINUX", 
29          RTE_NT: "RTE_NT", 
30          RTE_OPENBSD: "RTE_OPENBSD", 
31          RTE_OSX: "RTE_OSX", 
32          RTE_POSIX: "RTE_POSIX", 
33          RTE_PWEMU: "RTE_PWEMU", 
34          RTE_RASPBIAN: "RTE_RASPBIAN", 
35          RTE_UBUNTU: "RTE_UBUNTU", 
36          RTE_WIN32: "RTE_WIN32", 
37          RTE_WINDOWS: "RTE_WINDOWS", 
38      } 
39  ) 
40