source:
NEMO/trunk/doc/tools/check_pkg.py
@
14728
Last change on this file since 14728 was 14257, checked in by nicolasmartin, 4 years ago | |
---|---|
|
|
File size: 185 bytes |
Rev | Line | |
---|---|---|
[14257] | 1 | #!/usr/bin/env python3 |
[11004] | 2 | |
3 | import sys, importlib | |
4 | ||
5 | for argv in sys.argv[1:]: | |
6 | try: | |
7 | importlib.import_module(argv) | |
8 | except ImportError: | |
[14257] | 9 | print("Package %s is missing in Python 3" % argv) |
[11004] | 10 |
Note: See TracBrowser
for help on using the repository browser.