jupyterlab-spreadsheet icon indicating copy to clipboard operation
jupyterlab-spreadsheet copied to clipboard

Setup repo to build .whl for pypi and conda-forge

Open MridulS opened this issue 3 years ago • 2 comments

Hey @quigleyj97! Currently the only way to install jupyterlab-spreadsheet requires users to use npm, I have added the required setup files to create a .whl distribution of the package so users can use pypi (and conda-forge) to install this on their machines. This follows the "recommended" setup config from https://github.com/jupyterlab/extension-cookiecutter-ts/.

To test this locally you can try building it with the following set of command:

$ pip install build
$ python -m build -s     # builds the source package
$ python -m build          # builds the .whl

This will build jupyterlab-spreadsheet/dist/jupyterlab_spreadsheet-0.4.1-py3-none-any.whl and this can be installed with pip.

Happy to help with the pypi/conda-forge-feedstock setup to automate the builds and releases for this :)

Let me know!

MridulS avatar Apr 25 '22 14:04 MridulS

Just wanted to bump this up in the notifications :)

MridulS avatar May 23 '22 18:05 MridulS

Thank you for doing this! I’ll play around with this tonight and come back with any Qs

quigleyj97 avatar Jul 18 '22 18:07 quigleyj97

Hi again! Sorry for the delay (life has been very busy lately), but coming back to this with the impending 4.0 release of JupyterLab. I think having a python package could help in other ways too (like enabling server-side behaviors, such as 'live' XLSX sheets with the help of xlwings). I'll see if I can get this working this weekend.

quigleyj97 avatar May 06 '23 18:05 quigleyj97

No worries! Let me know if I can help :)

MridulS avatar May 06 '23 19:05 MridulS

Ok, closing this in favor of #60, which builds off your PR to simplify the build and adds some additional Python files to get JL to recognize the Python package distribution as a valid Python package. I still need to fix some visual bugs but we should be ready to release in time for JupyterLab 4.0 with support for installing via pip. Thank you so much for your contributions!

quigleyj97 avatar May 06 '23 22:05 quigleyj97