The setup.py could use
install_requires to define the dependencies.
The simplest way to include requirement specifiers is to use the install_requires argument to setup(). It takes a string or list of strings containing requirement specifiers. If you include more than one requirement in a string, each requirement must begin on a new line.
For an example, see https://github.com/lbl-srg/BuildingsPy/blob/master/setup.py