PlanarAlly
PlanarAlly copied to clipboard
Add PlanarAlly to PyPI
I think it will be a great simplification to minimize the PA installation to simply
pip install PlanarAlly
Writing a setup.py
could also help creating a CLI tool for server-side admin management of the PA.
I'm a bit unsure about this. I don't know how common it is for actual end products to be put on PyPI. PA is not a library that can be used by others with an import, so it somehow rubs me wrong.
I can be wrong though.
PlanarAlly feels out of scope for PyPI. PlanarAlly server is python, but the entire client is Javascript based. In order to run the server, the client must be built using npm (node.js) to produce the static web content which is served to users.
I don't think it would make much sense to bifurcate installation and release across PyPI. If it were pure python, yes, but this is clearly not.
That said, some kind of installation automation/scripting isn't a terrible idea.
The PA server and client code could be bundled in one package with frozen dependencies on PyPI. If I understand correctly, once built frontend does not require any external software to run - it's just served by the python PA server (or some other external server for static). It's not out of scope - there are a lot of other projects, such as Home Assistant and Buildbot. They are using PyPI to publish both server and client sides.
There is indeed no need for npm or such if we were to publish the server on PyPI. If things like home assistant are on there I guess there is no reason why PA wouldn't be. I'll take a look at it.
Ah, good point, I didn't realize folks are using PyPI for full application distribution.
On Thu, May 14, 2020 at 1:45 AM Darragh Van Tichelen < [email protected]> wrote:
There is indeed no need for npm or such if we were to publish the server on PyPI. If things like home assistant are on there I guess there is no reason why PA wouldn't be. I'll take a look at it.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Kruptein/PlanarAlly/issues/289#issuecomment-628489399, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADP6NY4AQDXY6IDUY2AMHDRROVTBANCNFSM4ME4UI2A .