1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-19 12:28:08 +01:00

setup.py:

Added support for keeping track of the revisions of the curses client
    (%CURSES_REVNO%)
curses/wicd-curses.py:
  Added the ad-hoc controls to the Help dialog
  Set wireless scans to be synchronous (True), to adapt to an API change in mainline
  Added support for OptionParser, added and implemented the option that was
    described in the man page (and -h (help) and --version)
in/wicd=wpath.py.in: Added a curses_revision flag
in/man=wicd-curses.8.in:
  Option parsing has been implemented.  Added the %CURSES_REVNO% flag to the man page.
  Fixed an accidental " added to one of the headers
This commit is contained in:
Andrew Psaltis
2009-01-23 22:13:27 -05:00
parent abf05c782f
commit 1b17fde015
4 changed files with 31 additions and 30 deletions

View File

@@ -27,6 +27,7 @@ import subprocess
# VERSIONNUMBER
VERSION_NUM = '1.6.0'
REVISION_NUM = 'unknown'
CURSES_REVNO = 'r254'
try:
if not os.path.exists('vcsinfo.py'):
@@ -266,6 +267,7 @@ class configure(Command):
# other things to replace that aren't arguments
line = line.replace('%VERSION%', str(VERSION_NUM))
line = line.replace('%REVNO%', str(REVISION_NUM))
line = line.replace('%CURSES_REVNO%', str(CURSES_REVNO))
item_out.write(line)