[Ben Finney, 2016-10-15] > How can I convince ‘dh-python’ to derive package dependencies from the > Setuptools ‘install_requires’ declaration?
by dh-python you mean dh_python3, right? > The Pip requirements tend to be tightly restrictive, because Pip is not > a distribution system but rather a deployment system. So those > requirements tend not to be good candidates for Debian's versioned > dependencies. > > The Setuptools ‘install_requires’ declaration is a better candidate for > this, since it is metadata for the *distribution* (not deployment); this > better matches Debian's purposes for package dependencies. > > See <URL:https://caremad.io/posts/2013/07/setup-vs-requirement/> for a > discussion of these complementary and different purposes. > > How can I convince ‘dh-python’ to derive Debian package dependencies > from the Setuptools ‘install_requires’ declaration? For example, can you point me to a source package where dh_python3 *doesn't* do that already? -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645