sprint code_aster: remove --bibpyt option

Issue #20 resolved
alain leufroy created an issue

python already manage sys.path customization using PYTHONPATH.

I've remove the sys.path.insert(0, os.path.join(bibpyt, 'Cata')), is it right?


Comments (5)

  1. Mathieu Courtois

    Cata seems not necessary.

    • add PYTHONPATH to profile.sh for "example" and to be runnable via as_run
    diff --git a/bibpyt/Execution/E_Core.py b/bibpyt/Execution/E_Core.py
    --- a/bibpyt/Execution/E_Core.py
    +++ b/bibpyt/Execution/E_Core.py
    @@ -138,7 +126,6 @@
             """Analyse les arguments de la ligne de commmande."""
             argv = _bwc_arguments(argv)
             self.opts, self.args = self.parser.parse_args(argv[1:])
    -        self.set_path()
             if self._dbg:
    diff --git a/waftools/legacy.py b/waftools/legacy.py
    --- a/waftools/legacy.py
    +++ b/waftools/legacy.py
    @@ -158,6 +158,7 @@
     export LD_LIBRARY_PATH
     export PYTHONPATH
  2. alain leufroy reporter


    Note that cata.pkginfo and aster_pkginfo contains duplicated information. I haven't modified cata.pkginfo as I suspect it is used by eficas.

  3. Log in to comment