Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita6a2a37

Browse files
committed
Make installation instructions more consistent
If people who want to run the tests didn't install the test extra,they can still install that extra. This simplifies the instructionsaccordingly. test-requirements.txt is still mentioned near thebeginning in case people want to look at it to see dependencies.But the changed code is the only place where the instructions hadstill said to do anything with those files.A possible disadvantage of this change is that in the rare casethat someone following those instructions to run the tests locallydidn't do an editable installation, then installing with the extrashouldn't be done editably either. But this doesn't seem like alikely problem, and the new text has an example command with -e toclarify the kind of command whose effect is augmented here.Because of that subtlety, it is not obvious that this change isreally justified for purposes of clarity. However, this also helpsprepare for a time when test-requirements.txt won't exist anymore,as may happen when the project definition is made fully declarative(see discussion in comments in#1716).
1 parent2775b60 commita6a2a37

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

‎README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,8 @@ Ensure testing libraries are installed. This is taken care of already if you ins
145145
pip install -e".[test]"
146146
```
147147

148-
Otherwise, you can run:
149-
150-
```sh
151-
pip install -r test-requirements.txt
152-
```
148+
If you had installed with a command like`pip install -e .` instead, you can still run
149+
the above command to add the testing dependencies.
153150

154151
####Test commands
155152

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp