Skip to content

Commit 321f265

Browse files
committed
Merge branch 'release/v0.3.4'
2 parents 80e2a83 + fc6e432 commit 321f265

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

get-platformio.py

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

pioinstaller/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
import logging.config
1616

17-
VERSION = (0, 3, 3)
17+
VERSION = (0, 3, 4)
1818
__version__ = ".".join([str(s) for s in VERSION])
1919

2020
__title__ = "platformio-installer"

pioinstaller/python.py

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,16 @@
2828

2929
PORTABLE_PYTHONS = {
3030
"windows_x86": (
31-
"https://github.com/platformio/platformio-core-installer/releases/download/"
32-
"v0.3.1/python-portable-windows_x86-3.7.7.tar.gz"
31+
"https://dl.bintray.com/platformio/dl-misc/"
32+
"python-portable-windows_x86-3.7.7.tar.gz"
3333
),
3434
"windows_amd64": (
35-
"https://github.com/platformio/platformio-core-installer/releases/download/"
36-
"v0.3.1/python-portable-windows_amd64-3.7.7.tar.gz"
35+
"https://dl.bintray.com/platformio/dl-misc/"
36+
"python-portable-windows_amd64-3.7.7.tar.gz"
37+
),
38+
"darwin_x86_64": (
39+
"https://dl.bintray.com/platformio/dl-misc/"
40+
"python-portable-darwin_x86_64-3.8.4.tar.gz"
3741
),
3842
}
3943

@@ -72,15 +76,15 @@ def fetch_portable_python(dst):
7276
url, os.path.join(os.path.join(dst, ".cache", "tmp"), os.path.basename(url))
7377
)
7478

75-
python_dir = os.path.join(dst, "python37")
79+
python_dir = os.path.join(dst, "python3")
7680
util.safe_remove_dir(python_dir)
7781
util.safe_create_dir(python_dir, raise_exception=True)
7882

7983
log.debug("Unpacking portable python...")
8084
util.unpack_archive(archive_path, python_dir)
8185
if util.IS_WINDOWS:
8286
return os.path.join(python_dir, "python.exe")
83-
return os.path.join(python_dir, "python")
87+
return os.path.join(python_dir, "bin", "python3")
8488
except: # pylint:disable=bare-except
8589
log.debug("Could not download portable python")
8690

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"semantic-version==2.8.5",
4242
"certifi==2020.6.20",
4343
# Misc
44-
"wheel==0.34.2",
44+
"wheel==0.35.1",
4545
],
4646
packages=find_packages(),
4747
entry_points={

0 commit comments

Comments
 (0)