PMXBOT Log file Viewer

Help | Karma | Search:

#pypa-dev logs for Friday the 17th of October, 2014

(Back to #pypa-dev overview) (Back to channel listing) (Animate logs)
[18:18:56] <straycat> Hi, I'm working on some minor additions to pip, which I expect may not be suitable for merging. Nonetheless, the docs say that pip has no way to control how dependencies for setup_requires are located, I don't understand what the difference would be between locating dependencies in setup_requires and locating dependencies in install_requires.
[20:14:22] <agronholm> straycat: this is because pip first runs "setup.py egg_info"
[20:14:28] <agronholm> which will generate a list of dependencies
[20:42:37] <straycat> agronholm, Sorry I still don't follow, can you elaborate? Specifically what is the difference between the procedure used for install_requires and the procedure used for setup_requires?
[20:44:05] <agronholm> straycat: setup.py egg_info is used to generate a file in <project>.egg_info which contains a list of install dependencies
[20:44:19] <agronholm> but to generate that list, you need to install the setup dependencies
[20:46:16] <straycat> Oh now I see :)
[20:56:27] <straycat> That list doesn't include the entire tree of dependencies though: the dependencies' dependencies.
[20:58:38] <straycat> So if I understand correctly, it's setuptools that finds the list of packages in setup_requires, pip runs setup.py egg_info to get an initial list of install requirements and builds the requirement set from that.