Changeset 734
- Timestamp:
- 17/08/16 19:39:16 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CMIP6dreqbuild/trunk/src/framework/dreqPy/dreqCmdl.py
r722 r734 3 3 """ 4 4 5 import scope, sys 5 ## this enable python3 cleanly (replacing "import scope") 6 ## but does not work as __main__ 7 import sys 8 from . import scope 6 9 7 10 def main_entry(): … … 16 19 17 20 if sys.argv[1] == '-v': 18 from packageConfig import __version__, __versionComment__21 from .packageConfig import __version__, __versionComment__ 19 22 print( 'dreqPy version %s [%s]' % (__version__,__versionComment__) ) 20 23 elif sys.argv[1] == '--unitTest': … … 22 25 import simpleCheck 23 26 print( "Starting test suite 2" ) 24 import examples.ex20327 from .examples import ex203 25 28 print( "Tests completed" ) 26 29 else:
Note: See TracChangeset
for help on using the changeset viewer.