Switch to PlatformIO's SCons version

This commit is contained in:
Ivan Kravets
2015-07-17 13:48:17 +03:00
parent de1cce41b0
commit 890acbc80e
3 changed files with 4 additions and 6 deletions

View File

@ -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"
}

View File

@ -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"
]]
])
]

View File

@ -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