File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,31 @@ Please ensure all dependencies are available on the CircuitPython filesystem.
52
52
This is easily achieved by downloading
53
53
`the Adafruit library and driver bundle <https://github.com/adafruit/Adafruit_CircuitPython_Bundle >`_.
54
54
55
+ Installing from PyPI
56
+ ====================
57
+
58
+ On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
59
+ PyPI <https://pypi.org/project/adafruit-circuitpython-ds3231/> `_. To install for current user:
60
+
61
+ .. code-block :: shell
62
+
63
+ pip3 install adafruit-circuitpython-ds3231
64
+
65
+ To install system-wide (this may be required in some cases):
66
+
67
+ .. code-block :: shell
68
+
69
+ sudo pip3 install adafruit-circuitpython-ds3231
70
+
71
+ To install in a virtual environment in your current project:
72
+
73
+ .. code-block :: shell
74
+
75
+ mkdir project-name && cd project-name
76
+ python3 -m venv .env
77
+ source .env/bin/activate
78
+ pip3 install adafruit-circuitpython-ds3231
79
+
55
80
Usage Notes
56
81
===========
57
82
You can’t perform that action at this time.
0 commit comments