Show More
@@ -272,7 +272,12 b' def has_serve():' | |||||
272 | return os.name != 'nt' # gross approximation |
|
272 | return os.name != 'nt' # gross approximation | |
273 |
|
273 | |||
274 | def has_tic(): |
|
274 | def has_tic(): | |
275 | return matchoutput('test -x "`which tic`"', '') |
|
275 | try: | |
|
276 | import curses | |||
|
277 | curses.COLOR_BLUE | |||
|
278 | return matchoutput('test -x "`which tic`"', '') | |||
|
279 | except ImportError: | |||
|
280 | return False | |||
276 |
|
281 | |||
277 | def has_msys(): |
|
282 | def has_msys(): | |
278 | return os.getenv('MSYSTEM') |
|
283 | return os.getenv('MSYSTEM') | |
@@ -324,7 +329,7 b' checks = {' | |||||
324 | "svn-bindings": (has_svn_bindings, "subversion python bindings"), |
|
329 | "svn-bindings": (has_svn_bindings, "subversion python bindings"), | |
325 | "symlink": (has_symlink, "symbolic links"), |
|
330 | "symlink": (has_symlink, "symbolic links"), | |
326 | "system-sh": (has_system_sh, "system() uses sh"), |
|
331 | "system-sh": (has_system_sh, "system() uses sh"), | |
327 | "tic": (has_tic, "terminfo compiler"), |
|
332 | "tic": (has_tic, "terminfo compiler and curses module"), | |
328 | "tla": (has_tla, "GNU Arch tla client"), |
|
333 | "tla": (has_tla, "GNU Arch tla client"), | |
329 | "unix-permissions": (has_unix_permissions, "unix-style permissions"), |
|
334 | "unix-permissions": (has_unix_permissions, "unix-style permissions"), | |
330 | "windows": (has_windows, "Windows"), |
|
335 | "windows": (has_windows, "Windows"), |
General Comments 0
You need to be logged in to leave comments.
Login now