-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moving away from relying on setuptools develop mode #1729
Comments
Original motivation: @rosteen reported that he got missing template error running
That would be a question for @maartenbreddels . |
Hatchling works by default for |
Hi @bmorris3 I think it would be best to first get a working version of say hatch and what is in voila-dashboards/voila#1250 in jdaviz before looking at voila-dashboards/voila#1250. cheers, Maarten |
Yup supported!
|
Could you point us to documentation/code on how this works/how this is implemented? |
https://hatch.pypa.io/latest/config/build/#dev-mode Just |
Invoking
setup.py
is deprecated (you can catch up on what's preferred in this blog post, for example). Currently, jdaviz still uses thesetuptools.setup
function indevelop
mode to make symlinks for our custom voila template, namedjdaviz-default
. The template is defined in the source code here, and the linking onpython setup.py develop
is done here.An improvement option to investigate:
hatch
is a python package manager that may cover our needs. Both voila (source) and Jupyter (source, blog) recently migrated to hatch, with the help of their hatch-jupyter-builder package.Aside: @rosteen and I have found it helpful to find the available (=="installed"?) templates by running a script like this. Maybe we should offer a util like this to voila upstream?
🐱
The text was updated successfully, but these errors were encountered: