Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork938
Commit5343aa0
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 automaticallyinstalls/upgrades the "build" and "twine" packages in it. This isonly done if "make" is run in a virtual environment.This can be a fresh environment: neither the project nor itsdependencies need to be installed in it. Because the "build" moduleis not currently used in any tests and running "make" in a virtualenvironment 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 virtualenvironment, 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 runin needs to have a usable "build" module.1 parentf86f09e commit5343aa0
3 files changed
+10
-7
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| 18 | + | |
| 19 | + | |
18 | 20 |
| |
19 | 21 |
| |
20 | 22 |
|
Lines changed: 8 additions & 6 deletions
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 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
3 | 2 |
| |
4 | 3 |
| |
5 | 4 |
| |
|
0 commit comments
Comments
(0)