-
Notifications
You must be signed in to change notification settings - Fork 47
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
Add flit backend #128
Add flit backend #128
Conversation
Notes for docs: When using the [build-system]
requires = ["jupyter_packaging >=0.12"]
build-backend = "jupyter_packaging.build_flit"
[project]
name = "foo"
version = "0.1.0"
description = "foo package" The full description of available fields can be found in PEP 621. Data files can be specified as: [tool.jupyter-packaging.external-data]
directory = "data" Data files are copied at build time in editable mode, per PEP 660. We can support linking by providing an alias to You can use the same builder and args in editable mode, or use the following specific keys: [tool.jupyter-packaging.editable-builder]
factory = "foo.main"
[tool.jupyter-packaging.editable-build-args]
fizz = "buzz" |
To summarize the status:
I think the best path forward is for |
Very nice stuff, looking forward to perusing it.
|
Awesome thanks @blink1073
My concern here is that during development, it is quite common to change the list of source files and the dependencies. If we switch to symlinking at the file level, this will require |
Yeah that's a fair way to do it. I'll finish this up as planned and leave it to y'all to handle the lab extension migration. Note that this is a new backend, so the cookiecutter would have to be changed to opt in to it. |
Alternatively, we may be able to add |
Closing this because it would be too awkward moving forward to support two build backend types in one repo. I think whichever way we move forward it should be with a new repo, cf jupyterlab/frontends-team-compass#146 |
flit install --symlink