Skip to content

Commit c8a19ff

Browse files
committed
add Blinka to 'setup.py->install_requires; add PyPI install directions to README
1 parent 744295e commit c8a19ff

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

README.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,30 @@ Please ensure all dependencies are available on the CircuitPython filesystem.
2525
This is easily achieved by downloading
2626
`the Adafruit library and driver bundle <https://github.com/adafruit/Adafruit_CircuitPython_Bundle>`_.
2727

28+
Installing from PyPI
29+
--------------------
30+
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
31+
PyPI <https://pypi.org/project/adafruit-circuitpython-pixie/>`_. To install for current user:
32+
33+
.. code-block:: shell
34+
35+
pip3 install adafruit-circuitpython-pixie
36+
37+
To install system-wide (this may be required in some cases):
38+
39+
.. code-block:: shell
40+
41+
sudo pip3 install adafruit-circuitpython-pixie
42+
43+
To install in a virtual environment in your current project:
44+
45+
.. code-block:: shell
46+
47+
mkdir project-name && cd project-name
48+
python3 -m venv .env
49+
source .env/bin/activate
50+
pip3 install adafruit-circuitpython-pixie
51+
2852
Usage Example
2953
=============
3054

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
author='Adafruit Industries',
3535
author_email='[email protected]',
3636

37-
install_requires=[],
37+
install_requires=['Adafruit-Blinka'],
3838

3939
# Choose your license
4040
license='MIT',

0 commit comments

Comments
 (0)