This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit 10f8297ba15534275cfa39be9642a001964fdbb4
Author: Tomaz Muraus <[email protected]>
AuthorDate: Wed Nov 13 23:48:43 2019 +0100

    Fix scrape-ec2-prices tox target and add new scrape-ec2-sizes tox
    target.
---
 tox.ini | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tox.ini b/tox.ini
index d95fae5..83d786b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -58,10 +58,17 @@ commands = pip install sphinx~=1.6.0
            sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html
 
 [testenv:scrape-ec2-prices]
+basepython: python2.7
 deps = requests
        demjson
 commands = python contrib/scrape-ec2-prices.py
 
+[testenv:scrape-ec2-sizes]
+basepython: python2.7
+deps = requests
+       ijson
+commands = bash -c 'python contrib/scrape-ec2-sizes.py > 
libcloud/compute/constants.py'
+
 [testenv:pylint]
 deps = -r{toxinidir}/requirements-tests.txt
        backports.ssl_match_hostname

Reply via email to