diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2012-02-07 16:27:43 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2012-02-07 16:27:43 -0500 |
commit | 83c2b28ccd8f1939116628e09e4464f2b38a3f77 (patch) | |
tree | 28f6172514c94c0ceda1f453e4c6bd8d2684e4b2 | |
parent | 5e90e2c790ee8fb87f7b53f9ff84d18bdf72a18a (diff) | |
download | pytest-runner-83c2b28ccd8f1939116628e09e4464f2b38a3f77.tar.gz |
Added support for returning the dict so the params can be constructed inline.
-rw-r--r-- | command.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,8 +4,7 @@ Setup scripts can use this to add setup.py test support for pytest runner. Recommended usage: execfile('pytest-runner/command.py') -setup_params = dict(...) -PyTest.install(setup_params) +setup_params = PyTest.install(dict(...)) setuptools.setup(**setup_params) """ @@ -112,3 +111,4 @@ class PyTest(_pytest_runner_test.test): setup_params.setdefault('cmdclass', {}).update( test=cls, ) + return setup_params |