The motivations of this objective are twice:
- Definitively prevent the risk of naming conflict between python
- modules coming from different %SALOME modules. Today, the developper
+ modules coming from different %SALOME modules. Today, the developer
of a module has to take care of the names used in other modules to
choose a name.
- Integrate in %SALOME some python modules initially developed in the
# WARN: This may still add duplicate entries to path on
# case-insensitive filesystems
if os.path.isdir(subdir) and subdir not in __path__:
- print "INFO - The directory %s is appended to sys.path" % subdir
+ print("INFO - The directory %s is appended to sys.path" % subdir)
__path__.append(subdir)
extend_path(ROOT_PYTHONPACKAGE_NAME)