ipyvega
ipyvega copied to clipboard
Make the conda package noarch
cc. @wolfv
It looks like this package is not noarch on conda-forge, while it could be.
It cannot be noarch yet because of the post-link file that install the nbextension manually. In order to remove this post-link, I suspect you would need to install your vega.json file under the etc/jupyter/nbconfig/notebook.d directory for Jupyter to discover.
For interactive widgets, we usually use data_files for installing this kind of files, see this for example.
Unfortunately, the build tool you are using (poetry) does not support data_files, see this issue, and they don't seem eager to support this feature.
Thanks for filing the issue. If you have a suggestion for improving things, I would love a pull request.
I am honestly not sure what the best approach would be, whether this could actually be achieved with poetry or if you would need to choose another build tool.
I'm open to other build tools as long as they are easy for me to use. I'd prefer if poetry could add support.