nengo / nengo-extras

Extra utilities and add-ons for Nengo
https://www.nengo.ai/nengo-extras
Other
5 stars 8 forks source link

Make pip release #63

Closed jgosmann closed 6 years ago

jgosmann commented 6 years ago

A pip release would make it easier to declare nengo_extras as a dependcy in other projects/models. Currently, it has to be included as dependency link which requires the additional option --process-dependency-links to pip. Furthermore, this option has been deprecated and will be removed in a future pip release.

tbekolay commented 6 years ago

Done

jgosmann commented 6 years ago

Thanks! Small inconsistency: The header of the linked page says pip install nengo-extras (with hyphen), whereas the main text says pip install nengo_extras (with underscore).

tbekolay commented 6 years ago

Hm... I'm not sure why the package name had its underscore replaced by a hyphen... it's either twine or the new PyPI infrastructure they have. If you grep this repo you will see no instances of nengo-extras, it's always nengo_extras, so I'll see if that's something that can be changed or if we're stuck with it. In any case, both pip install nengo-extras and pip install nengo_extras works.

tbekolay commented 6 years ago

I've done some digging and it seems like it might be possible, but not straightforward to change the PyPI package name ... and even if we do, it seems like there's a push within the Python community to switch to using hyphens and not underscores in package names. Please see this forum post which has more details and a poll for how to move forward.