-
-
Notifications
You must be signed in to change notification settings - Fork 957
Commit 5343aa0
committed
Let "make" install build and twine if in a virtual environment
If a virtual environment (created by venv or virtualenv) is active,
running "make release" or "make force_release" now automatically
installs/upgrades the "build" and "twine" packages in it. This is
only done if "make" is run in a virtual environment.
This can be a fresh environment: neither the project nor its
dependencies need to be installed in it. Because the "build" module
is not currently used in any tests and running "make" in a virtual
environment takes care of installing "build" (and "twine"), "build"
is now removed from test-requirements.txt.
The publishing instructions in the readme are updated accordingly,
to mention the optional step of creating and activating a virtual
environment, and to briefly clarify why one might want to do that.
Running "make" outside a virtual environment remains supported,
except that, due to recent changes, whatever environment it is run
in needs to have a usable "build" module.1 parent f86f09e commit 5343aa0
3 files changed
+10
-7
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 | + | ||
19 | + | ||
18 | 20 |
| |
19 | 21 |
| |
20 | 22 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
188 | 188 |
| |
189 | 189 |
| |
190 | 190 |
| |
191 | - | ||
192 | - | ||
193 | - | ||
194 | - | ||
195 | - | ||
191 | + | ||
192 | + | ||
193 | + | ||
194 | + | ||
195 | + | ||
196 | + | ||
197 | + | ||
196 | 198 |
| |
197 | - | ||
199 | + | ||
198 | 200 |
| |
199 | 201 |
| |
200 | 202 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | - | ||
3 | 2 |
| |
4 | 3 |
| |
5 | 4 |
| |
|
0 commit comments