1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-24 07:02:29 +01:00

fixing more Python version issues

This commit is contained in:
Adam Blackburn
2010-12-23 09:12:58 -10:00
parent 0e9eac0a89
commit e3f16e237d
5 changed files with 14 additions and 5 deletions

11
NEWS
View File

@@ -1,5 +1,13 @@
Wicd 1.7.0 Branch
1.7.1b2:
Changes for Packagers:
- You will now want to use the --python option to setup.py configure to
make sure the right Python (python2.x) is used. With the Python 3
transition in progress, the lack of uniformity across distros made it
difficult to find a solution that works everywhere. As a result, the
python executable path can be set (for subprocesses launched by Wicd)
with the --python option to setup.py configure, and patching of the
shebang lines may be required if `which python` is not python2.x.
Minor Changes:
- Now uses gtkbuilder instead of libglade
- Fixed bug in script macro expansion
@@ -7,7 +15,8 @@ Wicd 1.7.0 Branch
- Applied 1 patch from Archlinux (thanks Rémy Oudompheng)
- Fixed Python 2.7 support
- Works if Python3 is the default Python
- Applied 14 patches from Debian (big thank you to everyone who contributed):
- Applied 14 patches from Debian (big thank you to everyone
who contributed):
- Includes translations in source tarball
- Improved documentation
- Fixed resolv.conf permissions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
""" autoconnect -- Triggers an automatic connection attempt. """

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
#
# Copyright (C) 1999-2006 Keith Dart <keith@kdart.com>

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
""" Suspends the wicd daemon.

View File

@@ -1806,7 +1806,7 @@ def main(argv):
wicd_bus = dbus.service.BusName('org.wicd.daemon', bus=bus)
daemon = WicdDaemon(wicd_bus, auto_connect=auto_connect)
if not no_poll:
child_pid = Popen([misc.find_path("python2"), "-O",
child_pid = Popen([wpath.python, "-O",
os.path.join(wpath.daemon, "monitor.py")],
shell=False, close_fds=True).pid
atexit.register(on_exit, child_pid)