-
Notifications
You must be signed in to change notification settings - Fork 62
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
[Feature Request]: Split into labextension(or + serverextension) and python package #240
Comments
Hey @specter119, thanks for opening the issue.
I don't really know if this is possible and I'm not sure on how to approach this, but if you figure out a way of doing this I'll happily review a PR! Is there anything that prevents you of installing the same package on both environments? |
You mean to split up the python package into two separate python packages? Is your goal to not depend on networkx in the base env or is it avoid jupyterlab in the other envs? For the latter note that the extension doesn't actually depend on jupyterlab. For the former I think this actually already achievable by only installing the |
My goal is avoiding jupyterlab in the other envs, it's heavy for a env offering kernel. |
oooh that's actually great, because I think that what you want is already happening. That is When you are installing For me in a fresh mamba create -n test python
conda activate test
pip install ipycytoscape installs these packages:
|
@ianhi thanks in advance. @marimeireles thanks all of you for development. |
Hey @specter119 glad you found a solution with Ian! :) |
Problem
I would like the package split into lab extension and python package since I use multiple envs for different usage, then the lab extension can be installed to the master env for visualization and the python package can be installed to the slave env to offer APIs.
Then the lab extension may only depend on jupyterlab, while the python package will depend on networkx etc.
Proposed Solution
I have no experience in developing experiencing in jupyterlab, maybe https://github.com/jupyter-widgets/ipyleaflet, https://github.com/matplotlib/ipympl can be examples?
Additional context
The text was updated successfully, but these errors were encountered: