Show More
@@ -702,8 +702,8 b' def has_test_repo():' | |||
|
702 | 702 | return os.path.isdir(os.path.join(t, "..", ".hg")) |
|
703 | 703 | |
|
704 | 704 | |
|
705 |
@check(" |
|
|
706 |
def has_ |
|
|
705 | @check("curses", "terminfo compiler and curses module") | |
|
706 | def has_curses(): | |
|
707 | 707 | try: |
|
708 | 708 | import curses |
|
709 | 709 | |
@@ -714,11 +714,17 b' def has_tic():' | |||
|
714 | 714 | if os.name == 'nt': |
|
715 | 715 | return True |
|
716 | 716 | |
|
717 | return matchoutput('test -x "`which tic`"', br'') | |
|
717 | return has_tic() | |
|
718 | ||
|
718 | 719 | except (ImportError, AttributeError): |
|
719 | 720 | return False |
|
720 | 721 | |
|
721 | 722 | |
|
723 | @check("tic", "terminfo compiler") | |
|
724 | def has_tic(): | |
|
725 | return matchoutput('test -x "`which tic`"', br'') | |
|
726 | ||
|
727 | ||
|
722 | 728 | @check("xz", "xz compression utility") |
|
723 | 729 | def has_xz(): |
|
724 | 730 | # When Windows invokes a subprocess in shell mode, it uses `cmd.exe`, which |
General Comments 0
You need to be logged in to leave comments.
Login now