I'm building a Python package from a source code repository I have, using a setup.py
script with setuptools.setup(...)
. In this function call I include all the Python libraries needed for the project to be installed using the install_requires
argument.
However, I noticed some users do not use all the sub-packages from this package, but only some specific ones, which do not need some libraries that are huge to be installed (e.g., torch).
Given this situation, can I create in the same repository something like myrepo['full']
or myrepo['little']
? Do you have any document on how to do so if it's possible?