~ma5/madanalysis5/madanalysis-development

« back to all changes in this revision

Viewing changes to madanalysis/system/detect_make.py

  • Committer: Benjamin Fuks
  • Date: 2018-05-04 10:44:49 UTC
  • mfrom: (115.1.81 v1.6beta)
  • Revision ID: fuks@cern.ch-20180504104449-60h8a00loxgr8zg0
Releasing v1.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
            result = ShellCommand.Which('make',all=True,mute=True)
76
76
            if len(result)==0:
77
77
                self.logger.error('GNU Make not found. Please install it before ' + \
78
 
                         'using MadAnalysis 5')
 
78
                                  'using MadAnalysis 5')
79
79
                return False
80
80
            self.logger.debug("  which-all:     ")
81
81
            for file in result:
85
85
        ok, out, err = ShellCommand.ExecuteWithCapture(['make','--version'],'./')
86
86
        if not ok:
87
87
            self.logger.error('GNU Make not found. Please install it before ' + \
88
 
                     'using MadAnalysis 5')
 
88
                              'using MadAnalysis 5')
89
89
            return False
90
90
        lines=out.split('\n')
91
91
        if len(lines)==0: