Expand on direnv section
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 50/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
調査の方向性
virtualenvwrapper セクションの直後にある direnv セクションを見つけ、周辺のドキュメントが外部のインストール手順にどのようにリンクしているかを確認します。direnv.net リンクと、提供されている virtualenvwrapper のセットアップ手順を追加し、レンダリングされたガイドで、プロジェクトディレクトリに入るときと出るときの有効化が明確に説明されていることを確認します。
索引モデルが issue の本文から書いたものです。
説明
The direnv section simply refers the reader to direnv.net for Linux installation instructions (by the the site is not linked on the page). Since there are different ways to get direnv working depending on if you're using pyenv, virtualenv, or virtualenvwrapper, it seems reasonable to direct them to the site. However, after struggling with this myself I found the instructions not straightforward, especially for a new user.
Since the direnv section directly follows the virtualenvwrapper section, I suggest updating with the following instructions to get direnv working with virtualenvwrapper:
- Add the following to ~/.config/direnv/direnvrc
layout_virtualenv {
local venv_path="$1"
source ${venv_path}/bin/activate
}
layout_virtualenvwrapper {
local venv_path="${WORKON_HOME}/$1"
layout_virtualenv $venv_path
}
- Add the following to an .envrc file in the root directory of your project
layout virtualenvwrapper _name_of_virtual_environment_
Now, the virtual environment will activate when you enter the project directory and deactivate when you leave.
- 主要言語
- Batchfile
- スター
- 29.8k
- フォーク
- 5.9k
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
realpython/python-guide のほかの issue
-
Page 404 error オープン
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
realpython/python-guide#1104 · コメント 2 件 ·
-
難易度 1/5 1〜3時間 初心者へのやさしさ 62/100
realpython/python-guide#327 ·
-
PyZMQ improvements オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
realpython/python-guide#326 · コメント 5 件 ·
-
@alex オープン
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
realpython/python-guide#1194 ·
-
Development Team SAP オープン
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
realpython/python-guide#1192 ·
realpython/python-guide の issue をすべて見る
似ている issue
-
Link Checker Report オープンautomated issue report
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
felladrin/uo-is-not-dead#176 · コメント 1 件 ·
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
Qiskit/qiskit-addon-sqd#376 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Seeed-Studio/wiki-documents#5655 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
MystenLabs/sui#28056 · コメント 1 件 ·