ipyvega icon indicating copy to clipboard operation
ipyvega copied to clipboard

Make the conda package noarch

Open martinRenou opened this issue 4 years ago • 3 comments

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.

martinRenou avatar Aug 11 '21 13:08 martinRenou

Thanks for filing the issue. If you have a suggestion for improving things, I would love a pull request.

domoritz avatar Aug 11 '21 13:08 domoritz

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.

martinRenou avatar Aug 11 '21 13:08 martinRenou

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.

domoritz avatar Aug 11 '21 17:08 domoritz