Implement the render subcommand as described in #4.
This requires the integration of the Rust binary for render-placements such that it can be accessed through the Python-based cli.
The goal is for a user to be able to install this project through pip, without touching render-placements directly.
Preparation (downloading or compilation) of the render-placements binary must thus be hidden behind the scenes of the pip install command.
Open questions
I remain a bit undecided on the best way to accomplish this.
(This list goes in descending order of appeal for me.)
Integrate as an executable that is called from within the Python cli when the render subcommand is provided?
Install render-placements such that bentopy render is simply an alias to the executable?
[x] #8
Though this may seem like a nice option, I don't know whether I favour
it. The only way the whole advantage of render-placements is retained
is if the interface between the Rust functions and the file handles is
not shimmed in any way. On the other hand, letting a render-placements
Python module operate as a single function that takes a couple path
strings seems gross, and does not give any benefit above any of the cases
described above.
Implement the
render
subcommand as described in #4.This requires the integration of the Rust binary for
render-placements
such that it can be accessed through the Python-based cli. The goal is for a user to be able to install this project throughpip
, without touchingrender-placements
directly. Preparation (downloading or compilation) of therender-placements
binary must thus be hidden behind the scenes of thepip install
command.Open questions
I remain a bit undecided on the best way to accomplish this. (This list goes in descending order of appeal for me.)
render
subcommand is provided?render-placements
such thatbentopy render
is simply an alias to the executable?render-placements
is retained is if the interface between the Rust functions and the file handles is not shimmed in any way. On the other hand, letting arender-placements
Python module operate as a single function that takes a couple path strings seems gross, and does not give any benefit above any of the cases described above.