diff --git a/bucket/python.json b/bucket/python.json index 3a307d9b9a..73509be80e 100644 --- a/bucket/python.json +++ b/bucket/python.json @@ -6,28 +6,12 @@ "notes": "Allow applications and third-party installers to find python by running: \"$dir\\install-pep-514.reg\"", "architecture": { "64bit": { - "url": [ - "https://www.python.org/ftp/python/3.10.2/python-3.10.2-amd64.exe#/setup.exe", - "https://raw.githubusercontent.com/ScoopInstaller/Main/master/scripts/python/install-pep-514.reg", - "https://raw.githubusercontent.com/ScoopInstaller/Main/master/scripts/python/uninstall-pep-514.reg" - ], - "hash": [ - "md5:2b4fd1ed6e736f0e65572da64c17e020", - "c2611c8010979a47cdeea1af17d5061d8df40c5356fd8c2f3ba9492d516a99d1", - "d9309423b693ed63aea6b1fbfc0c34f16842cdca22a1b3edef283b87567a53b9" - ] + "url": "https://www.python.org/ftp/python/3.10.2/python-3.10.2-amd64.exe#/setup.exe", + "hash": "md5:2b4fd1ed6e736f0e65572da64c17e020" }, "32bit": { - "url": [ - "https://www.python.org/ftp/python/3.10.2/python-3.10.2.exe#/setup.exe", - "https://raw.githubusercontent.com/ScoopInstaller/Main/master/scripts/python/install-pep-514.reg", - "https://raw.githubusercontent.com/ScoopInstaller/Main/master/scripts/python/uninstall-pep-514.reg" - ], - "hash": [ - "md5:ef91f4e873280d37eb5bc26e7b18d3d1", - "c2611c8010979a47cdeea1af17d5061d8df40c5356fd8c2f3ba9492d516a99d1", - "d9309423b693ed63aea6b1fbfc0c34f16842cdca22a1b3edef283b87567a53b9" - ] + "url": "https://www.python.org/ftp/python/3.10.2/python-3.10.2.exe#/setup.exe", + "hash": "md5:ef91f4e873280d37eb5bc26e7b18d3d1" } }, "pre_install": [ @@ -36,7 +20,7 @@ "if ($architecture -eq '32bit') { $bit = '32' }", "'install-pep-514.reg', 'uninstall-pep-514.reg' | ForEach-Object {", " $py_version = ($version -split '\\.')[0..1] -join '.'", - " $content = Get-Content \"$dir\\$_\"", + " $content = Get-Content \"$bucketsdir\\main\\scripts\\python\\$_\"", " $content = $content.Replace('$py_root', $py_root)", " $content = $content.Replace('$py_version', $py_version)", " $content = $content.Replace('$py_fullversion', $version)",