diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-01-10 15:39:00 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-01-10 15:39:00 +0000 |
| commit | 91890bc31f2752aa8ff55372aa69a6723a0c09b5 (patch) | |
| tree | d9d558536109e919c410127a62b7873829f48df2 /lib/python/Tools/Directories.py | |
| parent | f1515e774761f54062c718ef23361800df65accb (diff) | |
| download | enigma2-91890bc31f2752aa8ff55372aa69a6723a0c09b5.tar.gz enigma2-91890bc31f2752aa8ff55372aa69a6723a0c09b5.zip | |
move the plugins into their own directory and every plugin has a main python file called plugin.py in his directory
for example the update plugin now resides in /usr/lib/enigma2/python/Plugins/update
when you add a plugin, don't forget to put an empty __init__.py file into the directory, otherwise python doesn't recognize
the directory as module
Diffstat (limited to 'lib/python/Tools/Directories.py')
| -rw-r--r-- | lib/python/Tools/Directories.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/python/Tools/Directories.py b/lib/python/Tools/Directories.py index 37ff1aa4..3736b7b5 100644 --- a/lib/python/Tools/Directories.py +++ b/lib/python/Tools/Directories.py @@ -9,6 +9,7 @@ SCOPE_USERETC = 5 SCOPE_CONFIG = 6 SCOPE_LANGUAGE = 7 SCOPE_HDD = 8 +SCOPE_PLUGINS = 9 PATH_CREATE = 0 PATH_DONTCREATE = 1 @@ -18,6 +19,7 @@ defaultPaths = { SCOPE_SYSETC: ("/etc/", PATH_DONTCREATE), SCOPE_FONTS: ("/usr/share/fonts/", PATH_DONTCREATE), SCOPE_CONFIG: ("/etc/enigma2/", PATH_CREATE), + SCOPE_PLUGINS: ("/usr/lib/enigma2/python/Plugins/", PATH_CREATE), SCOPE_LANGUAGE: ("/usr/share/enigma2/po/", PATH_CREATE), |
