Skip to content

Commit 3afa06d

Browse files
committed
Direct users toward Python3, install explicitly
1 parent 01f6f27 commit 3afa06d

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ You're best using the "One-line" install method if you want all of the UART seri
1717
![Enviro Plus pHAT](./Enviro-Plus-pHAT.jpg)
1818
![Enviro Mini pHAT](./Enviro-mini-pHAT.jpg)
1919

20+
:warning: This library now supports Python 3 only, Python 2 is EOL - https://www.python.org/doc/sunset-python-2/
21+
2022
## One-line (Installs from GitHub)
2123

2224
```

install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,5 +184,6 @@ if [ -d "examples" ]; then
184184
fi
185185
186186
success "\nAll done!"
187-
inform "If this is your first time installing you should reboot for hardware changes to take effect.\n"
187+
warning "If this is your first time installing you should --reboot-- for hardware changes to take effect.\n"
188+
warning "This library is installed for Python 3 *only* make sure to use \"python3\" when running examples.\n"
188189
inform "Find uninstall steps in $UNINSTALLER\n"

library/setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ ignore =
5555
[pimoroni]
5656
py2deps =
5757
py3deps =
58+
python3
5859
python3-pip
5960
python3-numpy
6061
python3-smbus

0 commit comments

Comments
 (0)