[Ian Zimmerman, 2013-05-26] > According to [1], setup() in distutils.core (which is the distribution > module in the Python standard library, at least for Python 2.7) has no > entry_points argument. Do you mean the setup from setuptools, which is > not in the standard library but is an external package? Does dh_python2 > depend on setuptools?
no, dh_python2 doesn't depend on anything outside stdlib > If so, why is that not stated in the manpage or > other documentation? dh_python2 (and dh_python3) does parse requires.txt installed by setuptools or distribute. If it's missing, setup.py's install_requires or pip's requirements.txt is not used for one simple reason: it's not trivial to check if given requirement is meant for given interpreter version - there are plenty of "standards" (sic!) > I'm sorry if I sound exasperated - it's because I am. I find the > pervasive confusion on this point somewhat galling. As another example, > the manpage says: > > dh_python2 tries to translate Python dependencies from requires.txt > file to Debian dependencies. > > What is this requires.txt file? Again, no mention of it in [1], which > instead mandates that dependencies be specified with the requires= > keyword argument to setup(). I will try to improve the wording (although I don't know why it irritated you so much) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org