source: NEMO/branches/UKMO/NEMO_4.0.2_mirror/doc/tools/check_pkg.py @ 12658

Last change on this file since 12658 was 11008, checked in by nicolasmartin, 2 years ago

Fix execution rights on new scripts

  • Property svn:executable set to *
File size: 182 bytes
Line 
1#!/usr/bin/env python
2
3import sys, importlib
4
5for argv in sys.argv[1:]:
6   try:
7      importlib.import_module(argv)
8   except ImportError:
9      print("Package %s is missing in Python" % argv)
10
Note: See TracBrowser for help on using the repository browser.