jasonacox / tinytuya

Python API for Tuya WiFi smart devices using a direct local area network (LAN) connection or the cloud (TuyaCloud API).
MIT License
1.02k stars 181 forks source link

Openwrt integration #562

Open grosjo opened 4 days ago

grosjo commented 4 days ago

Hi

I am trying to make a PR for Openwrt to include tinytuya

https://github.com/openwrt/packages/pull/25443

But I am missing the source file on PyPi https://pypi.org/project/tinytuya/#files

How to push them there ?

thank you

grosjo commented 4 days ago

I put the github as a reference, not PyPi

grosjo commented 4 days ago

It does not like it for dependencies... can you please put the sources on Pypi ?

jasonacox commented 4 days ago

From what I see from https://github.com/openwrt/packages/blob/master/CONTRIBUTING.md, they require that the package maintainer submit the package. I'll see what is needed for me to do that...

grosjo commented 3 days ago

I switch my PR to mose other topics, and let you do your own PR

Looking very much forward to it

grosjo commented 3 days ago

And would you remove colorama from the dependencies, that would be super helpful (as space is scarce on small devices)

grosjo commented 3 days ago

Actual dependencies I managed to reduce to, while keeping it working, are

python3-colorama (I guess can be removed) python3-cryptography python3-decimal python3-requests python3-uuid python3-xml