Commit edb569d
jg
fix(setup): annotate setup.py to guard against re-importing httpie package at build time
BUG-1 (2012): setup.py imported `from httpie import httpie` which pulled in
pygments before pip could install it, causing InstallError. The bug was
already resolved by migrating to declarative setup.cfg (commit 10b7d31).
This commit adds an explicit warning comment in setup.py to prevent any
future contributor from accidentally re-introducing a package-level import.
Closes: #11 parent 4a8d4e1 commit edb569d
2 files changed
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
1 | 6 | | |
2 | 7 | | |
3 | 8 | | |
0 commit comments