Move to latest version of SCons

This commit is contained in:
Ivan Kravets
2014-10-03 19:48:17 +03:00
parent 024be2e094
commit 907a72d3bd
2 changed files with 9 additions and 5 deletions

View File

@ -73,16 +73,20 @@ def install_pip():
def install_pypi_packages(packages): def install_pypi_packages(packages):
for p in packages: for pipargs in packages:
print (exec_python_cmd(["-m", "pip", "install", "-U"] + p.split())) print (exec_python_cmd(["-m", "pip", "install", "-U"] + pipargs))
def main(): def main():
steps = [ steps = [
("Fixing Windows %PATH% Environment", fix_winpython_pathenv, []), ("Fixing Windows %PATH% Environment", fix_winpython_pathenv, []),
("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, [
(["platformio", "--egg scons"],)), [["platformio"], [
"--egg",
"http://sourceforge.net/projects/scons/files/latest/download"
]]
])
] ]
if not IS_WINDOWS: if not IS_WINDOWS:

View File

@ -15,7 +15,7 @@ deps =
isort isort
flake8 flake8
commands = commands =
pip install --egg scons pip install --egg http://sourceforge.net/projects/scons/files/latest/download
[testenv:docs] [testenv:docs]
deps = deps =