mylinux.constants package¶
Submodules¶
mylinux.constants.error module¶
Here are contained all error messages that are used for error report, raising exception, etc...
-
mylinux.constants.error.newErrorDiscoveryMsg= 'UKNOWN ERROR: Inform mylinux developers obout this error...'¶
-
mylinux.constants.error.singletone= 'Singletone has been already inited'¶
-
class
mylinux.constants.error.Format[source]¶ Bases:
objectClass for filing missing msg. strings.
-
static
keyMissingIn(key, where)[source]¶ Parameters: - key (str) – What key is missing.
- where (str) – Where is key missing.
Returns: Logical msg. string.
-
static
keyNotValidFor(key, what)[source]¶ Parameters: - key (str) – What key is not valid.
- what (str) – Why is not valid.
Returns: Logical msg. string.
-
static
alreadyExistIn(where)[source]¶ Parameters: where (str) – Where object already exist. Returns: Logical msg. string.
-
static
mylinux.constants.runTime module¶
-
mylinux.constants.runTime.username= None¶ True user name.
-
mylinux.constants.runTime.homePath= '/home/root'¶ Home path for the user.
-
mylinux.constants.runTime.filesPath= '/home/root/.mylinux'¶ Path to the folder where mylinux reads application data/ settings.
mylinux.constants.setup module¶
All variables that is setup.py using for self configuration/installation etc...
Note
Here are listed only few variables.
-
mylinux.constants.setup.version= '0.0.3'¶
-
mylinux.constants.setup.url= 'https://github.com/urosjarc/mylinux'¶
-
mylinux.constants.setup.entry_points= {'console_scripts': ['mylinux = mylinux.__main__:main']}¶
Module contents¶
| Other Parameters: | |
|---|---|
|
|