From 890acbc80ec57807538b10ea8bdad3a9693f78f3 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 17 Jul 2015 13:48:17 +0300 Subject: [PATCH] Switch to PlatformIO's SCons version --- docs/ci/appveyor.rst | 2 +- scripts/get-platformio.py | 4 +--- tox.ini | 4 ++-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/ci/appveyor.rst b/docs/ci/appveyor.rst index 65ca0eb9..edfafcd5 100644 --- a/docs/ci/appveyor.rst +++ b/docs/ci/appveyor.rst @@ -134,7 +134,7 @@ same for the all projects, don't need to modify them): function InstallScons ($python_home) { Write-Host "Start installing Scons" $pip_path = $python_home + "/Scripts/pip.exe" - & $pip_path install --egg "http://sourceforge.net/projects/scons/files/latest/download" + & $pip_path install --egg "http://dl.platformio.org/scons.zip" Write-Host "Scons installed" } diff --git a/scripts/get-platformio.py b/scripts/get-platformio.py index 26b0c932..a8ccd81c 100644 --- a/scripts/get-platformio.py +++ b/scripts/get-platformio.py @@ -100,9 +100,7 @@ def main(): ("Installing Python Package Manager", install_pip, []), ("Installing PlatformIO and dependencies", install_pypi_packages, [ [["setuptools"], ["platformio"], [ - "--egg", - "http://sourceforge.net/projects/platformio-storage/files/" - "scons.zip/download" + "--egg", "http://dl.platformio.org/scons.zip" ]] ]) ] diff --git a/tox.ini b/tox.ini index d96bb3d8..1f425256 100644 --- a/tox.ini +++ b/tox.ini @@ -11,7 +11,7 @@ deps = isort flake8 commands = - pip install --egg http://sourceforge.net/projects/platformio-storage/files/scons.zip/download + pip install --egg http://dl.platformio.org/scons.zip [testenv:docs] basepython = python2.7 @@ -48,5 +48,5 @@ passenv = * deps = pytest commands = {envpython} --version - pip install --egg http://sourceforge.net/projects/platformio-storage/files/scons.zip/download + pip install --egg http://dl.platformio.org/scons.zip py.test -v --basetemp="{envtmpdir}" tests