Skip to content
Snippets Groups Projects
  • Marco Biasini's avatar
    a3be372c
    remove 'ost' directory from sys.path · a3be372c
    Marco Biasini authored
    since the ost startup script lives in the same directory as the
    top-level ost modules (python{version}/site-packages/ost), the
    directory got automatically added to sys.path. That's bad for
    several reasons I don't want to go in right now (see discussion
    on the mailing list). Instead of passing the script as a script
    name to execute, we now use execfile with the startup script.
    This circumvents addition of the directory to the path and
    makes Gabriel smile again.
    a3be372c
    History
    remove 'ost' directory from sys.path
    Marco Biasini authored
    since the ost startup script lives in the same directory as the
    top-level ost modules (python{version}/site-packages/ost), the
    directory got automatically added to sys.path. That's bad for
    several reasons I don't want to go in right now (see discussion
    on the mailing list). Instead of passing the script as a script
    name to execute, we now use execfile with the startup script.
    This circumvents addition of the directory to the path and
    makes Gabriel smile again.