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

pyコマンド使用者向けインストールスクリプトを追加 #15

Closed
YugenTakadaka opened this issue Mar 19, 2023 · 0 comments · Fixed by #16
Closed

pyコマンド使用者向けインストールスクリプトを追加 #15

YugenTakadaka opened this issue Mar 19, 2023 · 0 comments · Fixed by #16
Labels
enhancement New feature or request

Comments

@YugenTakadaka
Copy link
Contributor

YugenTakadaka commented Mar 19, 2023

問題

インストールの手順が自動化されている install.ps1 において、venv モジュールが python コマンドで実行されています。
しかしながら、python を複数バージョン入れている環境では

  • python3.10 以外の python にパスが通っている
  • python コマンドにパスを通さず py コマンド (Python launcher) を使用している

といった可能性が考えられます。
そういった環境ではinstall.ps1 がうまく動きません。

提案

既存のインストール用のスクリプトとは別に、Python launcher 向けの自動インストール用のスクリプトを追加する。

メリット

  • py コマンドのみパスを通している人も楽にインストールできるようになります。
  • py コマンドを使用しているためインストール時に作成される venv 仮想環境の Python のマイナーバージョンを固定できます。

デメリット

  • 管理しなければいけないファイルが増えてしまいます。

プルリクエスト

Python launcher 向けの自動インストール用のスクリプトのプルリクエストを送りたいと思います。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants