Skip to content

Commit 8c5d4f2

Browse files
authored
Merge pull request #32 from lesamouraipourpre/requirements
Update the requirements for installation and docs building
2 parents 6cdf864 + a8e6a6d commit 8c5d4f2

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@ This is easily achieved by downloading
2929
Installing from PyPI
3030
--------------------
3131
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:
3333

3434
.. code-block:: shell
3535
36-
pip3 install adafruit-circuitpython-display_button
36+
pip3 install adafruit-circuitpython-display-button
3737
3838
To install system-wide (this may be required in some cases):
3939

4040
.. code-block:: shell
4141
42-
sudo pip3 install adafruit-circuitpython-display_button
42+
sudo pip3 install adafruit-circuitpython-display-button
4343
4444
To install in a virtual environment in your current project:
4545

@@ -48,7 +48,7 @@ To install in a virtual environment in your current project:
4848
mkdir project-name && cd project-name
4949
python3 -m venv .env
5050
source .env/bin/activate
51-
pip3 install adafruit-circuitpython-display_button
51+
pip3 install adafruit-circuitpython-display-button
5252
5353
Usage Example
5454
=============

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# Uncomment the below if you use native CircuitPython modules such as
2626
# digitalio, micropython and busio. List the modules you use. Without it, the
2727
# 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"]
2929

3030

3131
intersphinx_mapping = {

requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@
44

55
Adafruit-Blinka
66
adafruit-blinka-displayio
7+
adafruit-circuitpython-display-text
8+
adafruit-circuitpython-display-shapes

setup.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,12 @@
3333
# Author details
3434
author="Adafruit Industries",
3535
author_email="[email protected]",
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+
],
3742
# Choose your license
3843
license="MIT",
3944
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers

0 commit comments

Comments
 (0)