I have a package called mypygeopack, which has lots of dependencies. I wanted to know if I can create a small package using extras:
pip install mypygeopack[tiny]
which will install a stripped down version of the package with only 1-2 dependencies instead of the 4-5.
Thanks
No, you can't. Extras can only add things, not remove.
It is a question that comes up regularly. People have discussed about it, but as far as I know, nothing concrete came out of those discussions yet: