This PR updates the package's use of gltf-pipeline for doing Draco compression. When I had set this up previously, it was just "this will work if you have gltf-pipeline installed", which is fine for a hack but doesn't work for a proper package. The improvements here are based on the setup that pywwt uses to install the WWT research app. Basically, we use the js folder to install gltf-pipeline, and then make sure that our setup copies the relevant JavaScript directories into the Python installation location so that we're able to access the main gltf-pipeline script at runtime.
This PR updates the package's use of
gltf-pipeline
for doing Draco compression. When I had set this up previously, it was just "this will work if you have gltf-pipeline installed", which is fine for a hack but doesn't work for a proper package. The improvements here are based on the setup thatpywwt
uses to install the WWT research app. Basically, we use thejs
folder to installgltf-pipeline
, and then make sure that our setup copies the relevant JavaScript directories into the Python installation location so that we're able to access the maingltf-pipeline
script at runtime.