Skip to content

access mercurial grain from ipython notebook? via powerbox? #15

Description

@dckc

I'd like to access a mercurial grain from an ipython notebook in sandstorm.

I managed to get mercurial installed inside an ipython grain by uploading the source and using it in pure python mode (some details below).

But I can't figure out how to connect to the https address given in the mercurial grain. https://docs.sandstorm.io/en/latest/developing/powerbox/ says HTTP_PROXY should be set, but I get KeyError from os.environ['HTTP_PROXY'].

sys.argv = ['setup.py', '--pure', 'build_py', '-c', '-d', '.']
 execfile("./setup.py")
sys.argv = ['setup.py', '--pure', 'build_hgexe', '-i']
execfile("./setup.py")

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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