saeyslab / napari-sparrow

https://sparrow-pipeline.readthedocs.io/en/latest/
Other
21 stars 0 forks source link

Define dependencies for Python package #76

Closed berombau closed 2 weeks ago

berombau commented 2 years ago

If we want to submit our package to PyPi, we need to define the requirements in a requirements.txt or in [pyproject.toml]().

Right now we only have 1 conda environment.yaml with everything: build-dependencies, cudatools, direct dependencies, jupyterlab, dev dependencies, test dependencies...

Conda-based plugins in napari are however supported and is also the future direction of napari packaging. But we want to support both PyPi and conda for now.

lopollar commented 1 year ago

@ArneDefauw , is this fixed now? At least for windows, right?

ArneDefauw commented 1 year ago

I think we still need to define minimal dependencies, if we want to publish to Pypi. I.e. dev dependencies, jupyterlab should not be in this minimal dependencies file. I don't know if we want to implement all the features described above by @berombau .

Minimal would be to have

ArneDefauw commented 2 weeks ago

Fixed on main. Should be ready to publish to PyPi