MIC-DKFZ / batchgenerators

A framework for data augmentation for 2D and 3D image classification and segmentation
Apache License 2.0
1.09k stars 221 forks source link

move unittest2 to extras_require #119

Closed marijncv closed 4 months ago

marijncv commented 8 months ago

This PR moves the dependency on unittest2 to the extras_require so that users of the library do not have to install unittest2.

To test, run:

python -m venv .venv
source .venv/bin/activate
pip install .
pip freeze | grep unittest2

and it should return nothing

Then again with:

pip install ".[dev]"
pip freeze | grep unittest2

Should return unittest2 and its version