Fixed ImportError when running plinth as daemonized python package

This commit is contained in:
fonfon 2014-09-03 04:43:08 +02:00
parent 0b5af37610
commit 7bb9c84863
3 changed files with 8 additions and 10 deletions

14
HACKING
View File

@ -21,20 +21,16 @@
$ sudo python -m plinth --no-daemon --debug
In this mode, Plinth runs in working directory without need for
installation. It uses a different config file (plinth.conf in working
directory) instead of the regular config file (/etc/plinth/plinth.conf). It
creates all that data and runtime files in data/var/*. To make Plinth
pickup the config file in working directory, simply delete
/etc/plinth/plinth.config.
installation. It uses the plinth.conf config file in the working
directory if no regular config file (/etc/plinth/plinth.conf) is found.
It creates all that data and runtime files in data/var/*.
*Note:* This mode is supported only in a limited manner. The following are
the unknown issues with it:
1. It does not work without the --debug and --no-daemon flags.
1. Help pages are also not built. Run 'make -C doc' manaully.
2. Help pages are also not built. Run 'make -C doc' manaully.
3. Actions do not work when running as normal user without 'sudo' prefix.
2. Actions do not work when running as normal user without 'sudo' prefix.
You need to add 'actions' directory to be allowed for 'sudo' commands.
See data/etc/sudoers.d/plinth for a hint.

View File

@ -19,4 +19,6 @@
Plinth package init file
"""
from . import context_processors
__version__ = '0.3.2'

View File

@ -19,6 +19,6 @@
Plinth module for first boot wizard
"""
from . import first_boot
from . import first_boot, middleware
__all__ = ['first_boot']