NetLogo / NetLogo/Python-Extension

Remote host/interpreter support

オープン
#3 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Scala
スター
31
フォーク
16
PR マージ指標
30日以内にマージされた PR はありません

説明

Copied from (with more discussion at): https://github.com/qiemem/PythonExtension/issues/3

Bash on Ubuntu on Windows (AKA Windows Subsystem Linux, AKA WSL) is really cool. However, because it is a sub system, Windows cannot access the Python binaries in WSL. And consequently, the NetLogo python extension won't be able to run them.

JetBrain's PyCharm solves this in their Windows GUI version by allowing people to connect to a remote SSH host that is then run on WSL. All code is sent to WSL via SSH, compiled, run, and values returned. It works beautifully and seamlessly.

Do you have any idea how difficult it would be to implement a similar feature in the extension?

Edit: I wouldn't know where to look for their implementation, but here is how to set it all up. Maybe that will give you a sense of how it works behind the scene: https://www.jetbrains.com/help/pycharm/2016.3/configuring-remote-interpreters-via-wsl.html

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

ソースファイルやテストは指定されていません。まず NetLogo Python extension と、リンクされている PyCharm WSL remote-interpreter setup を確認し、WSL ホストとの SSH 通信に重点を置いてください。Python コードを remote interpreter 経由で実行し、値を NetLogo に返せるようになれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
linux, python, ubuntu
領域
developer-experience
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。