Skip to content

Issue executing postactivate script when using a virtualenv #8

Description

@Sabbasth

postactivate seems to not be loaded.

To test it I added a path to $PYTHONPATH:

export OLD_PYTHONPATH="$PYTHONPATH"

if [ -z $PYTHONPATH ]; then
    export PYTHONPATH=/home/bsemene/dev/logging_handlers
else
    export PYTHONPATH=$PYTHONPATH:/home/bsemene/dev/logging_handlers
fi

On the console I execute the following in my virtualenv:

$python -c "import sys ; import os ; print os.getenv('PYTHONPATH') in sys.path"
True

And on sublime (after activating the virtualenv):
print '/home/bsemene/dev/logging_handlers' in sys.path returns False

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions