To get a unique list of all Python packages your application depends on:
grep -irhP '^import ' interp_stn_to_grid | sort | uniq
where interp_stn_to_grid
is the top-level directory containing all the Python scripts in your application.
To get a unique list of all Python packages your application depends on:
grep -irhP '^import ' interp_stn_to_grid | sort | uniq
where interp_stn_to_grid
is the top-level directory containing all the Python scripts in your application.