Add requirements file for most commonly added modules.
dblume

dblume commited on 2022-01-23 11:04:19
Showing 3 changed files, with 54 additions and 0 deletions.

... ...
@@ -54,10 +54,18 @@ See [config.dlma.com](http://config.dlma.com) for more.
54 54
 5. .inputrc, for a [partially matched command history traversal](http://askubuntu.com/questions/59846/bash-history-search-partial-up-arrow/59855#59855).
55 55
 6. .ssh/config, for a [fix for CVE-2016-0777](https://news.ycombinator.com/item?id=10901588). (Or upgrade to OpenSSH 7.1p2 released Jan 14, 2016 from http://www.openssh.com.)
56 56
 
57
+#### Optional manual step: Install common Python  modules
58
+
59
+If you're coming from the far future and want the latest modules, not those
60
+pinned to a version, `pip install` requirements.in instead of requirements.txt.
61
+
62
+    python3 -m pip install -r requirements.in
63
+
57 64
 #### What's not installed
58 65
 
59 66
 1. .dircolors (There are instructions in .bashrc to lighten the color of directories.)
60 67
 2. Private data like keys, get those from the USB4 bioport in the back of your neck.
68
+3. The commonly used Python modules described above
61 69
 
62 70
 ### Is it any good?
63 71
 
... ...
@@ -0,0 +1,8 @@
1
+# These are the top-level requirements I always seem to need.
2
+# To generate "requirements.txt", install pip-tools:
3
+#
4
+#     (venv) $ python3 -m pip install pip-tools
5
+#     (venv) $ pip-compile requirements.in
6
+#
7
+matplotlib
8
+requests
... ...
@@ -0,0 +1,38 @@
1
+#
2
+# This file is autogenerated by pip-compile with python 3.8
3
+# To update, run:
4
+#
5
+#    pip-compile requirements.in
6
+#
7
+certifi==2021.10.8
8
+    # via requests
9
+charset-normalizer==2.0.10
10
+    # via requests
11
+cycler==0.11.0
12
+    # via matplotlib
13
+fonttools==4.28.5
14
+    # via matplotlib
15
+idna==3.3
16
+    # via requests
17
+kiwisolver==1.3.2
18
+    # via matplotlib
19
+matplotlib==3.5.1
20
+    # via -r requirements.in
21
+numpy==1.22.1
22
+    # via matplotlib
23
+packaging==21.3
24
+    # via matplotlib
25
+pillow==9.0.0
26
+    # via matplotlib
27
+pyparsing==3.0.7
28
+    # via
29
+    #   matplotlib
30
+    #   packaging
31
+python-dateutil==2.8.2
32
+    # via matplotlib
33
+requests==2.27.1
34
+    # via -r requirements.in
35
+six==1.16.0
36
+    # via python-dateutil
37
+urllib3==1.26.8
38
+    # via requests
0 39