[Distutils] [issue124] Add support for installing test requirements to 'develop' command

Tres Seaver setuptools at bugs.python.org
Mon Mar 28 16:50:55 CEST 2011


New submission from Tres Seaver <tseaver at palladion.com>:

The attached patch adds a '--with-test-requirements' / '-t' option to the 'develop' command:  the rationale is that when developing a package, one should
be able to run the tests without polluting the local checkout directory with
the eggs specified by its 'tests_require':  those eggs should be installed just
as the other ones mandated by 'install_requires'.

I would actually prefer to make this behavior the default, perhaps with a
command-line-switch to disable it, but think that backward compatibility
trumps that itch.

----------
assignedto: pje
files: setuptools-0.6-develop-with_test_requirements.patch
messages: 606
nosy: pje, tseaver
priority: feature
status: unread
title: Add support for installing test requirements to 'develop' command
Added file: http://bugs.python.org/setuptools/file76/setuptools-0.6-develop-with_test_requirements.patch

_______________________________________________
Setuptools tracker <setuptools at bugs.python.org>
<http://bugs.python.org/setuptools/issue124>
_______________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setuptools-0.6-develop-with_test_requirements.patch
Type: text/x-diff
Size: 1728 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20110328/f423f20c/attachment.patch>


More information about the Distutils-SIG mailing list