mirror of
https://github.com/gryf/wicd.git
synced 2025-12-18 12:00:24 +01:00
Get rid of daemon path from config.
Also, README update.
This commit is contained in:
28
README.rst
28
README.rst
@@ -27,23 +27,26 @@ Why are you doing this?
|
||||
My motivation is to make it usable again, and my effort concentrate on the
|
||||
daemon itself and curses TUI, as the most attractive parts of the project to me.
|
||||
|
||||
What's works:
|
||||
What's done:
|
||||
|
||||
1. Installation. It was broken, but the fix was trivial. So now, the usual
|
||||
1. Installation. It was broken, and was fixed. So now, the usual
|
||||
``python setup.py install`` should just work.
|
||||
2. TUI in ncurses. Actually, it's using `urwid`_ underneath. It still have some
|
||||
issue, like crashing in some situations, just like wicd-1.7.4, but I have a
|
||||
plan to take a close look at it.
|
||||
issues, like crashing in certain situations, just like wicd-1.7.4.
|
||||
3. Straight up installation process. Separation for runtime/build only paths
|
||||
and options. Use configuration instead of templated ``wpath.py`` module.
|
||||
|
||||
What is not:
|
||||
|
||||
1. GUI/client in GTK. WICD used to use `pygtk`_, which (unfortunately) is
|
||||
Python 2 only project. I would be tempted to reimplement it with gobject,
|
||||
but I have 0 motivation for doing so, because GTK2 is not supported through
|
||||
it.
|
||||
2. Applet for GNOME Shell. There was simple dispatcher for try icon used in
|
||||
GNOME Shell, yet, it just use GUI.
|
||||
3. Notification - it was used for GTK client.
|
||||
1. GUI. Graphics interface was built using `pygtk`_, which is Python 2, and
|
||||
dead project.
|
||||
2. Applet for GNOME Shell. There was simple dispatcher for tray icon for the
|
||||
GUI client in GNOME Shell, so since GUI client is unsupported in Python 3, I
|
||||
have to dro pit aswell.
|
||||
3. Notifications. `Notification library`_ was used for GTK client, and is
|
||||
Python2 only.
|
||||
4. `python-iwscan`_ and `python-wpactrl`_ are not supported, as they are
|
||||
considered as dead projects.
|
||||
|
||||
|
||||
License
|
||||
@@ -58,3 +61,6 @@ the license attached as a ``LICENSE`` file in the root directory of the project.
|
||||
.. _been merged: https://github.com/zeph/wicd
|
||||
.. _urwid: http://urwid.org/
|
||||
.. _pygtk: https://web.archive.org/web/20180416083422/http://www.pygtk.org
|
||||
.. _Notification library: http://www.galago-project.org
|
||||
.. _python-iwscan: https://web.archive.org/web/20080926094621/http://projects.otaku42.de/browser/python-iwscan
|
||||
.. _python-wpactrl: https://web.archive.org/web/20100508185722/http://projects.otaku42.de/wiki/PythonWpaCtrl
|
||||
|
||||
@@ -3,7 +3,6 @@ import os
|
||||
|
||||
|
||||
DEFAULTS = {'bin': '/usr/bin',
|
||||
'daemon': '/usr/share/wicd/daemon',
|
||||
'encryption': '/etc/wicd/encryption-templates',
|
||||
'etc': '/etc/wicd',
|
||||
'log': '/var/log/wicd',
|
||||
|
||||
@@ -1934,7 +1934,8 @@ def run(argv):
|
||||
child_pid = None
|
||||
if not no_poll:
|
||||
child_pid = Popen([CFG.python, "-O",
|
||||
os.path.join(CFG.daemon, "monitor.py")],
|
||||
os.path.join(os.path.dirname(__file__),
|
||||
"monitor.py")],
|
||||
shell=False, close_fds=True).pid
|
||||
atexit.register(on_exit, child_pid)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user