Convert into a Python package
Opened this issue · 5 comments
It would be a lot easier for people if this project was converted into a Python package that was installable through Pip or easy_install. Plus, then people could just write plain-old Python and not have to worry about starting a remote server and formatting and sending JSON messages to it over UDP. For example, see RPIO and their GitHub project.
I'm sure we'll be able to do this.
You know, we could add a part in the python code that launches the server - which is what I did with my CAD project.
Yeah, I think that's a decent idea. I'd still like to make this a full package and upload it to PyPi so that people don't have to worry about compiling stuff, or starting (and remembering to kill) an external process, and they could use it with virtualenv
.
In any case, this would be a rather large breaking change, so I'm going to try to do this in a separate feature branch. I still don't have Internet access at my house, so I'm not sure when I'll be able to get started on this, but I would love your help when I get this started. Or you could start it. I've never made a Python package before so it's going to be a learning experience for me too.
I agree with making it in a seperate branch as I rely on the structure of the current Pi-RC, for my CAD project. I haven't built a Python Package before, either - still fairly new to Python too. I started getting into Python when I got my CAD (just over a month ago).
I'd feel more comfortable if you start the new project off as I have to go to college, which is time consuming in itself.
I'll definitely help with the project once it gets started. I too will take a look into Python Packages, when I get the time to.
As you currently have issues with connecting to the net, have you tried tethering to a cell phone? I do it in some circumstances.
I'd love to see this actually happen, anyone still working on this?