sfood -fuq package.py | sfood-target-files
will list the dependencies.
`-f` tells sfood to follow dependencies recursively
`-u` tells sfood to ignore unused imports
`-q` tells sfood to be quiet about debugging information
To filter out modules from the standard library, you could use
sfood -fuq package.py | sfood-filter-stdlib | sfood-target-files
As you've already noted, if there are other directories you'd like ignored, you can also use the sfood -I
flag.