Fix package requirements

Returning a generator rather than a list was not correctly generating
the dependencies, so not installing them when installing the package