rkoshak / sensorReporter

A python based service that receives sensor inputs and publishes them in various ways.
Apache License 2.0
105 stars 41 forks source link

Convert to a module #113

Closed rkoshak closed 5 months ago

rkoshak commented 1 year ago

Raspberry Pi OS bookwork has tightened down the installation of libraries and all but requires a virtualenv.

In order to install this as a module requires a restructuring of the folders and creation of some new files.

DanielDecker commented 1 year ago

I understand that Bookworm doesn't allow to install global pip packages. But I don't understand why sensorReporter has to be a module. To my understanding modules are used to import them into other projects. Is this what you plan to do this with sensorReporter?

Can I help in any way?

rkoshak commented 1 year ago

I think it would be cool to make sensorReporter installable via pip. But beyond that I haven't given it a whole lot of thought. I started going down this path when I hit the venv issue with bookworm but ended up going another route to get it working. This is mostly just here as a reminder to come back and see if it's feasible.

DanielDecker commented 1 year ago

OK, thanks for the info.

rkoshak commented 5 months ago

I'm going to mark this as solved through the installation scripts. If at a future date there is a compelling reason to make it into a module (e.g. we want to distribute through pypy) we can reopen this or create a new issue.