ev3dev / ev3dev-lang

(deprecated) language bindings for ev3dev sensors, motors, LEDs, etc.
GNU General Public License v2.0
56 stars 39 forks source link

Make package names and namespaces part of the spec. #133

Open dlech opened 8 years ago

dlech commented 8 years ago

Picking up the conversation from https://github.com/ev3dev/ev3dev-lang/pull/129#issuecomment-164168408...

@rhempel said:

I think that we may need to be a little more protective of ev3dev as a standalone word or package name. In my mind ev3dev is the term we are using for the entire distribution - and it's a little wierd running ev3dev on other platforms, but the intent is to support LEGO compatible shields on those platforms.

So I'd prefer if you named your binding ev3dev-csharp or something like that - whatever you like - but please not just ev3dev by itself to avoid confusion.

Anyone else have any comments for or against?

rhempel commented 8 years ago

I think this is a good idea - so are you suggesting something in spec.json - an entry for each binding with:

Any other keys that might be handy?

dlech commented 8 years ago

I totally agree that ev3dev by itself should no be used for package names or namespaces. Furthermore, I think you should make package names and namespaces part of the ev3dev-lang spec.

Here are my thoughts on naming conventions.

dlech commented 8 years ago

So, to use ev3dev-lang-python as an example, the ev3dev folder should be renamed to ev3dev-lang since that becomes the module name. Also, the package name in setup.py should be renamed to ev3dev-lang.

rhempel commented 8 years ago

Ack that will make it into the next spin of the module - we'll be adding the static button state hopefully :-)