Skip to content

Support installing grumpy-runtime in editable mode #152

Description

@abitrolly

pip install --editable . allow to edit source code of Python package and run it without rebuilding the package. grumpy-runtime doesn't support this, and it also takes a long time to rebuild itself.

When runtime is installed in editable mode, the grumpy run command fails with this.

# grumpy -c 'print("hello")'
/tmp/tmptxtN5t__pycache__/gopath/src/__python__/main.go:6:2: cannot find package "__python__/__go__/grumpy" in any of:
	/usr/lib/go-1.13/src/__python__/__go__/grumpy (from $GOROOT)
	/tmp/tmptxtN5t__pycache__/gopath/src/__python__/__go__/grumpy (from $GOPATH)
	/app/grumpy-runtime-src/grumpy_runtime/data/gopath/src/__python__/__go__/grumpy

From #151 (comment)

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions