diff --git a/HISTORY.rst b/HISTORY.rst index f721c4c469..c37a85e2b7 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,8 +1,14 @@ Release History =============== +0.3.1 (2014-06-21) +------------------ + +* Fixed auto-installer for Windows OS (bug with %PATH% customisations) + + 0.3.0 (2014-06-21) ---------- +------------------ * Allowed to pass multiple "SomePlatform" to install/uninstall commands * Added "IDE Integration" section to README with Eclipse project examples diff --git a/platformio/__init__.py b/platformio/__init__.py index 6ad01aad28..78c0b0503b 100644 --- a/platformio/__init__.py +++ b/platformio/__init__.py @@ -1,7 +1,7 @@ # Copyright (C) Ivan Kravets # See LICENSE for details. -VERSION = (0, 3, 0) +VERSION = (0, 3, 1) __version__ = ".".join([str(s) for s in VERSION]) __title__ = "platformio" diff --git a/platformio/__main__.py b/platformio/__main__.py index 3b9be17444..f1b052f82b 100644 --- a/platformio/__main__.py +++ b/platformio/__main__.py @@ -35,7 +35,7 @@ def get_command(self, ctx, name): @command(cls=PlatformioCLI) -@version_option(__version__, "platformio") +@version_option(__version__, prog_name="platformio") def cli(): pass diff --git a/scripts/get-platformio.py b/scripts/get-platformio.py index 79bf85d748..aff8ba6c48 100644 --- a/scripts/get-platformio.py +++ b/scripts/get-platformio.py @@ -25,6 +25,8 @@ def fix_winpython_pathenv(): # took these lines from the native "win_add2path.py" pythonpath = os.path.dirname(CURINTERPRETER_PATH) scripts = os.path.join(pythonpath, "Scripts") + if not os.path.isdir(scripts): + os.makedirs(scripts) with winreg.CreateKey(winreg.HKEY_CURRENT_USER, u"Environment") as key: try: