Python package dependency tree
I would like to analyze the dependency tree of Python packages. How can I obtain this data? Things I already know setup.py sometimes contains a requires field that lists package dependencies PyPi is an online repository of Python packages PyPi has an API Things that I don't know Very few projects (around 10%) on PyPi explicitly list dependencies in the requires field but pip/easy_install still manage to download the correct packages. What am I missing? For example the popular library for statistical computing, pandas , doesn't list requires but still manages to install numpy , pytz , etc....