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) { function InstallScons ($python_home) {
Write-Host "Start installing Scons" Write-Host "Start installing Scons"
$pip_path = $python_home + "/Scripts/pip.exe" $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" Write-Host "Scons installed"
} }

View File

@ -100,9 +100,7 @@ def main():
("Installing Python Package Manager", install_pip, []), ("Installing Python Package Manager", install_pip, []),
("Installing PlatformIO and dependencies", install_pypi_packages, [ ("Installing PlatformIO and dependencies", install_pypi_packages, [
[["setuptools"], ["platformio"], [ [["setuptools"], ["platformio"], [
"--egg", "--egg", "http://dl.platformio.org/scons.zip"
"http://sourceforge.net/projects/platformio-storage/files/"
"scons.zip/download"
]] ]]
]) ])
] ]

View File

@ -11,7 +11,7 @@ deps =
isort isort
flake8 flake8
commands = 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] [testenv:docs]
basepython = python2.7 basepython = python2.7
@ -48,5 +48,5 @@ passenv = *
deps = pytest deps = pytest
commands = commands =
{envpython} --version {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 py.test -v --basetemp="{envtmpdir}" tests