Commit 7010a8cfb9
Verified · cmc
Layout: unified · split
requirements.txt +11 −4
| @@ -1,4 +1,11 @@ | ||
| 1 | json | |
| 2 | urllib.request | |
| 3 | pathlib | |
| 4 | typing | |
| \ No newline at end of file | ||
| 1 | # hn has no third-party dependencies: json, urllib.request, pathlib, datetime | |
| 2 | # and typing are all standard library. | |
| 3 | # | |
| 4 | # This file previously listed those module names, which made | |
| 5 | # `pip install -r requirements.txt` fail outright — json and urllib.request have | |
| 6 | # no distribution on PyPI. Worse, `typing` and `pathlib` DO exist there as | |
| 7 | # backports for Python 2 and 3.4, and installing them on a modern interpreter | |
| 8 | # shadows the standard library with older implementations. | |
| 9 | # | |
| 10 | # Kept as an empty file rather than deleted so the documented install step still | |
| 11 | # works. | |