Closed erikbosch closed 1 year ago
I think having a Pypi package would make things a lot easier for "users", and we would have an implicit versioning (we might still need to figure out how to that "exactly" but at least form a user perspective you can always point them to a specific pypi version instead of saying "that tag, hash, submodule reference")
I would go for "less" packages in the first step, just to avoid maintaining so many different package metadata. For vpsec2binary it is a bit challenging, because while you CAN build and then push, the question is how to handle at least ARM and AMD, and it would be bad if some guy on ARM can't use the tools even though he does not need the binary converter at all just because we did not put up a correct wheel. Also it has no real build system, so making it build when installing pypi from source also takes some effort (which we would need anyway, because maybe they are MUSL vs GLIBC users, QNX users etc.), and we can't build for everyone.
Wrt. to adding exporters without touching the core (e.g. the ability to "load plugins", hooking into vspec2x), I would see as a seperate issue
In summary
Now this seems to be functional. Remaining work concerns:
Closing this one, actual merge through other PR
This is related to #75
Packaging vss-tools to PyPi has some advantages, like easier to get tools without need to clone. It could also be a starting point for us to refactor tooling to make it easier to create your own tools. This PR basically just changes version handling as I had problems getting the current one to work for publishing to PyPI. There are some specific rules on versions in PyPI, so I am proposing a possible version naming guide.
What I would like to discuss:
Input is welcome