Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support installing grumpy-runtime in editable mode #152

Open
abitrolly opened this issue Jun 16, 2020 · 0 comments
Open

Support installing grumpy-runtime in editable mode #152

abitrolly opened this issue Jun 16, 2020 · 0 comments

Comments

@abitrolly
Copy link

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)

abitrolly added a commit to abitrolly/grumpy that referenced this issue Jun 16, 2020
abitrolly added a commit to abitrolly/grumpy that referenced this issue Dec 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant