Changeset 0582039 in mainline for tools/autotool.py


Ignore:
Timestamp:
2018-04-19T12:17:50Z (7 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bfe1fc1
Parents:
d2f75eb
Message:

remove PyYAML dependency check (since PyYAML is no longer required)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/autotool.py

    rd2f75eb r0582039  
    350350        check_app([common['STRIP'], "--version"], "GNU strip", details)
    351351
    352 def check_python():
    353         "Check for Python dependencies"
    354 
    355         try:
    356                 sys.stderr.write("Checking for PyYAML ... ")
    357                 import yaml
    358         except ImportError:
    359                 print_error(["PyYAML is missing.",
    360                              "",
    361                              "Please make sure that it is installed in your",
    362                              "system (usually part of PyYAML package)."])
    363 
    364         sys.stderr.write("ok\n")
    365 
    366352def decode_value(value):
    367353        "Decode integer value"
     
    648634                        if (config['INTEGRATED_AS'] == "no"):
    649635                                common['CC'] += " -no-integrated-as"
    650 
    651                 check_python()
    652636
    653637                # Platform-specific utilities
Note: See TracChangeset for help on using the changeset viewer.