Changing matlab installation path probing?

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python

調査の方向性

Start by reading setup.py to understand the current LD_LIBRARY_PATH probing and _arch.txt generation, then inspect matlab/init.py where the installation information is used. Compare using shutil.which and moving probing to runtime, while checking how wheel creation is affected. Done means installation is not tied to the runtime environment and MATLAB path changes remain supported.

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

説明

As it is matlabengine detects matlab installation path in the setup.py at installation time by checking paths in LD_LIBRARY_PATH.

This requires:

  • LD_LIBRARY_PATH to be defined
  • The installation process to be held in the same environment as it will used

Why not also using shutil.which to probe for the installation path of matlab rather than only relying on LD_LIBRARY_PATH?

What about moving this probing from setup.py (which goal is to produce the _arch.txt file) to matlab/__init__.py where this information is actually used? This would allow to make wheels and be resilient to changes in the path matlab is installed.

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

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

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

はじめの一歩

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

mathworks/matlab-engine-for-python のほかの issue

mathworks/matlab-engine-for-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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