You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If one wants to build a custom app for their smartscreen by using the driver library code, it is currently very annoying to do so because:
the driver library is part of the whole project which contains many more dependencies (UI libs, sensor libs...) that are not useful for the driver itself
the project is not properly packaged and published to PyPI like a normal Python package
I think you should consider extracting the driver library to its own repository, add the proper packaging info, and publish it to PyPI. Actually, maybe a dedicated repo is not required and some custom build/packaging could do the trick to extract just the driver with just its required deps and make a package out of that.
FYI, I did an extract of the driver myself here: hchargois/smartscreen-driver and published it to PyPI. I also fixed all the PEP8 naming violations and simplified the code by removing all the widgets which don't really belong in the driver IMO. The driver in my repo only exposes a paint() (aka DisplayPILImage) to push bitmaps to the screen. I made that repo for my own use out of necessity, I'm not very much interested in maintaining it.
The text was updated successfully, but these errors were encountered:
Indeed this would be better as a real standalone library in pip. I thought about it a while ago but it seemed most people use the System Monitor so I didn't find it a priority at that time.
I will have a look at your implementation and the docs to see if it is possible without another repository to maintain
If one wants to build a custom app for their smartscreen by using the driver library code, it is currently very annoying to do so because:
I think you should consider extracting the driver library to its own repository, add the proper packaging info, and publish it to PyPI. Actually, maybe a dedicated repo is not required and some custom build/packaging could do the trick to extract just the driver with just its required deps and make a package out of that.
FYI, I did an extract of the driver myself here: hchargois/smartscreen-driver and published it to PyPI. I also fixed all the PEP8 naming violations and simplified the code by removing all the widgets which don't really belong in the driver IMO. The driver in my repo only exposes a
paint()
(akaDisplayPILImage
) to push bitmaps to the screen. I made that repo for my own use out of necessity, I'm not very much interested in maintaining it.The text was updated successfully, but these errors were encountered: