Skip to content

Add PyPi #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 14, 2019
Merged

Add PyPi #3

merged 2 commits into from
Apr 14, 2019

Conversation

brentru
Copy link
Member

@brentru brentru commented Apr 12, 2019

Addressing #2 (comment)

@brentru brentru requested a review from a team April 12, 2019 21:24
Copy link
Collaborator

@sommersoft sommersoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything in the .travis.yml looks fine. However, I went to peek at setup.py and noticed this:

install_requires=[
        'Adafruit-Blinka',
        'ESP32SPI'
    ],

Shouldn't ESP32SPI be adafruit-circuitpython-esp32spi? I imagine the pip install would fail otherwise for the requirement.
EDIT: also, looked in requirements.txt just now. SimpleIO is also used, so adafruit-circuitpython-simpleio should be added to the install_requires list.

Which brings me to another question: couldn't usage on a Blinka implementation that has on-board WiFi (e.g. RPi 0w) fail on instantiation? The current code forces an external ESP (32 or AT) module. This second part may be better as an issue, so feel free to move it there to address later. This may also be a larger Blinka thing, as well.

@brentru
Copy link
Member Author

brentru commented Apr 13, 2019

Which brings me to another question: couldn't usage on a Blinka implementation that has on-board WiFi (e.g. RPi 0w) fail on instantiation? The current code forces an external ESP (32 or AT) module. This second part may be better as an issue, so feel free to move it there to address later. This may also be a larger Blinka thing, as well.

I believe it would fail.. ESP32SPI_WiFiManager would need to be replaced with requests as a substitute.

@sommersoft Requirements have been changed per your review.

@sommersoft
Copy link
Collaborator

I believe it would fail.. ESP32SPI_WiFiManager would need to be replaced with requests as a substitute.

I'll go ahead and merge this, but I feel like this should be addressed soon. I don't see many users that will want to use an external ESP with this on any SBCs supported by Blinka. Granted, there are also a myriad of Hue libraries available on PyPI already, so that could offset...

@sommersoft sommersoft merged commit 131cd3b into adafruit:master Apr 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants