[TIP] Tox & setup.py install_requires

Tres Seaver tseaver at palladion.com
Sat Feb 28 17:37:09 PST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/27/2015 09:36 AM, holger krekel wrote:
> On Wed, Feb 25, 2015 at 18:53 -0500, Randy Syring wrote:
>> Can tox be configured to install dependencies based on what is 
>> listed in setup.py `install_requires` and `extras_require`?
>> 
>> Thanks.
> 
> Not sure if i understand correctly but tox.ini provides no means to
> reference those metadata entries.  If you let tox install your package
> this will install the ``install_requires`` dependencies, however.
> What's the issue you are having?

Doesn't tox install the sdist using `pip install --no-deps`?  I've got a
bunch of redundant dependencies listed in tox.ini files if I'm wrong
about this.


Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJU8m1FAAoJEPKpaDSJE9HYAbsP/03IZHHoqhKR8sExQEo09Chm
a7l/F5Gyb82aKVcwAzvlpnlfHSYc2+5GwdJSIdp4HuP4EizqX+10qNJUeZ/zgnUp
17W+2yYoX7cA9WHLnCVNnSYwTVzrBnZrGgozBlhGkFCXz/QweayEjUdMTNMY9H/M
9LqzaGuggxv9aMObeityQ4dyUU7MZrxSWxOKXjCKpMUsXH+RIFt6xsNy1CwZIbsu
7xdhYpr8odhtjkJGjEiJzy80CXYXse93mBO/1NYGhwsQ1bC2IUkJ6PWV4TKTCVtw
VOTfE6zbCsBLlfIL5D90w2HlnZkmgkroaTZ/13y2O9ckX2xtljFMt2H5z8UFyaR1
HFw5vNhYnhALeZ6cq+BbN8Ju6j+hFOuA6y0OGTP9CaQ/dOcmUaHnLh/YbtEv+fEo
iX6mfJr8aO8k2Gfh4wSSLLkOUFUkUjWD3fnTxBf2bjQI2TS4bbOORa3HVq/WdC28
KtWDKxO+TaFRGtSTlTsz5Tz2g3uN2VtLsmx4/6HFa/5qgnR6+nMYMhHkvVy9yntL
AA5H05DaBUBNTBZfd+DUetzb46ra5+SgV28/yxDrHNPUd3hGhRMDbNoQQqtKByap
Jq7hNnIC8CulhBf4vX2teP+w6m6T2OvayAAqvi6zvi1+goz2JZ2ppHjWfmlDdzHV
3U+MXYeBmNM1nutNXP88
=yzgN
-----END PGP SIGNATURE-----




More information about the testing-in-python mailing list