File tree 4 files changed +13
-6
lines changed
4 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -29,17 +29,17 @@ This is easily achieved by downloading
29
29
Installing from PyPI
30
30
--------------------
31
31
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
32
- PyPI <https://pypi.org/project/adafruit-circuitpython-display_button /> `_. To install for current user:
32
+ PyPI <https://pypi.org/project/adafruit-circuitpython-display-button /> `_. To install for current user:
33
33
34
34
.. code-block :: shell
35
35
36
- pip3 install adafruit-circuitpython-display_button
36
+ pip3 install adafruit-circuitpython-display-button
37
37
38
38
To install system-wide (this may be required in some cases):
39
39
40
40
.. code-block :: shell
41
41
42
- sudo pip3 install adafruit-circuitpython-display_button
42
+ sudo pip3 install adafruit-circuitpython-display-button
43
43
44
44
To install in a virtual environment in your current project:
45
45
@@ -48,7 +48,7 @@ To install in a virtual environment in your current project:
48
48
mkdir project-name && cd project-name
49
49
python3 -m venv .env
50
50
source .env/bin/activate
51
- pip3 install adafruit-circuitpython-display_button
51
+ pip3 install adafruit-circuitpython-display-button
52
52
53
53
Usage Example
54
54
=============
Original file line number Diff line number Diff line change 25
25
# Uncomment the below if you use native CircuitPython modules such as
26
26
# digitalio, micropython and busio. List the modules you use. Without it, the
27
27
# autodoc module docs will fail to generate with a warning.
28
- autodoc_mock_imports = ["displayio" , "adafruit_display_text" , "adafruit_display_shapes" ]
28
+ autodoc_mock_imports = ["displayio" ]
29
29
30
30
31
31
intersphinx_mapping = {
Original file line number Diff line number Diff line change 4
4
5
5
Adafruit-Blinka
6
6
adafruit-blinka-displayio
7
+ adafruit-circuitpython-display-text
8
+ adafruit-circuitpython-display-shapes
Original file line number Diff line number Diff line change 33
33
# Author details
34
34
author = "Adafruit Industries" ,
35
35
36
- install_requires = ["Adafruit-Blinka" , "adafruit-blinka-displayio" ],
36
+ install_requires = [
37
+ "Adafruit-Blinka" ,
38
+ "adafruit-blinka-displayio" ,
39
+ "adafruit-circuitpython-display-text" ,
40
+ "adafruit-circuitpython-display-shapes" ,
41
+ ],
37
42
# Choose your license
38
43
license = "MIT" ,
39
44
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
You can’t perform that action at this time.
0 commit comments