pimoroni / scroll-phat-hd

Python library for Scroll pHAT HD
https://shop.pimoroni.com/products/scroll-phat-hd
MIT License
160 stars 64 forks source link

Update "Getting Started" Pimoroni Page with Github Link #72

Open cr45hmurphy opened 3 years ago

cr45hmurphy commented 3 years ago

The Getting Started page on Pimoroni's website has users run the following command:

curl https://get.pimoroni.com/scrollphathd | bash

This file does not appear to be at the same version as the github repo. This is evidenced in examples such as, "twitter-hashtag.py". The website's version still uses the deprecated Tweepy parameter syntax async=True, while the github repo uses the updated syntax is_async=True.

Is there any way for the website to instruct users to pull from the github instead? Or update the install script to do so?

Gadgetoid commented 3 years ago

Looks like the crux of the problem is that this library hasn't seen a new release in (over) 2 years!

I'll get that sorted.

cr45hmurphy commented 3 years ago

@Gadgetoid was is the best way to upgrade this package? Via pip, apt-get, or rerunning the curl script?

Gadgetoid commented 3 years ago

Using python3 -m pip install scrollphathd --upgrade should work (or just python if you're still using 2.x). I haven't released a new version to apt yet.

cr45hmurphy commented 3 years ago

Using python3 -m pip install scrollphathd --upgrade should work (or just python if you're still using 2.x). I haven't released a new version to apt yet.

Sounds good!