Skip to content

Commit

Permalink
AU: 1 updated - python311
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
Chocolatey Community committed Dec 15, 2022
1 parent e4983e1 commit 0eb24ef
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion automatic/python3-streams/README.md
@@ -1,4 +1,4 @@
# <img src="https://cdn.jsdelivr.net/gh/chocolatey-community/chocolatey-packages@edba4a5849ff756e767cba86641bea97ff5721fe/icons/python.svg" width="48" height="48"/> [python312](https://community.chocolatey.org/packages/python312)
# <img src="https://cdn.jsdelivr.net/gh/chocolatey-community/chocolatey-packages@edba4a5849ff756e767cba86641bea97ff5721fe/icons/python.svg" width="48" height="48"/> [python311](https://community.chocolatey.org/packages/python311)

Python 3.x is a programming language that lets you work more quickly and integrate your systems more effectively. You can learn to use Python 3.x and see almost immediate gains in productivity and lower maintenance costs.

Expand Down
12 changes: 6 additions & 6 deletions automatic/python3-streams/legal/VERIFICATION.txt
Expand Up @@ -9,17 +9,17 @@ and can be verified by doing the following:

1. Go to

x32: https://www.python.org/ftp/python/3.12.0/python-3.12.0a2.exe
x64: https://www.python.org/ftp/python/3.12.0/python-3.12.0a2-amd64.exe
x32: https://www.python.org/ftp/python/3.11.1/python-3.11.1.exe
x64: https://www.python.org/ftp/python/3.11.1/python-3.11.1-amd64.exe

to download the installer.

2. You can use one of the following methods to obtain the SHA256 checksum:
- Use powershell function 'Get-FileHash'
- Use Chocolatey utility 'checksum.exe'

checksum32: 4EAF6CDF229C1CD129CCADC701C2F09450288872AED4394D57E545F0610D86C4
checksum64: EA5D760B4F7023F5AE60A369674A7E3F9FD2A7561D1D1F901E03F0F80C7C0F9C
checksum32: CCB52759000BF97A7FEC6E7C68E6A4173D9A3494B913C9E4E31AE6BCC0C2E2BF
checksum64: 5BCF0CE02D6DE9EDEE44CC30287B59BBA3625089AC85F7486538BCD5D3766B37

The file 'LICENSE.txt' has been obtained from Python 3.12 Documentation archive <https://docs.python.org/3.12/archives/python-3.12.0a2-docs-text.zip>
and can also be found at <https://docs.python.org/3.12/license.html>.
The file 'LICENSE.txt' has been obtained from Python 3.11 Documentation archive <https://docs.python.org/3.11/archives/python-3.11.1-docs-text.zip>
and can also be found at <https://docs.python.org/3.11/license.html>.
2 changes: 1 addition & 1 deletion automatic/python3-streams/python3-streams.json
@@ -1,4 +1,4 @@
{
"3.11": "3.11.0",
"3.11": "3.11.1",
"3.12": "3.12.0-a2"
}
12 changes: 6 additions & 6 deletions automatic/python3-streams/python3-streams.nuspec
Expand Up @@ -2,9 +2,9 @@
<!-- Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one. -->
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>python312</id>
<version>3.12.0-a2</version>
<title>Python 3.12</title>
<id>python311</id>
<version>3.11.1</version>
<title>Python 3.11</title>
<owners>chocolatey-community,jack1142</owners>
<authors>Python Software Foundation</authors>
<projectUrl>http://www.python.org/</projectUrl>
Expand All @@ -18,11 +18,11 @@ Copyright © 1991-1995 Stichting Mathematisch Centrum. All rights reserved.</cop
## Package Parameters
- `/InstallDir` - Installation directory. **NOTE**: If you have pre-existing python312 installation, this parameter is ignored and existing python install location will be used
- `/InstallDir` - Installation directory. **NOTE**: If you have pre-existing python3 installation, this parameter is ignored and existing python install location will be used
- `/InstallDir32:` - Installation directory for 32bit python on 64bit Operating Systems. **NOTE**: Do only use this parameter if you wish to install 32bit python alongside 64bit python. 32Bit python will not be added on PATH.
- `/NoLockdown` - Installation directory will not be locked down with Administrator only write permissions.
Example: `choco install python312 --params "/InstallDir:C:\your\install\path"`
Example: `choco install python311 --params "/InstallDir:C:\your\install\path"`
## Notes
Expand All @@ -32,7 +32,7 @@ Example: `choco install python312 --params "/InstallDir:C:\your\install\path"`
]]></description>
<summary>Python 3.x is a programming language that lets you work more quickly and integrate your systems more effectively. You can learn to use Python 3.x and see almost immediate gains in productivity and lower maintenance costs.</summary>
<tags>python programming development foss cross-platform admin</tags>
<licenseUrl>https://docs.python.org/3.12/license.html</licenseUrl>
<licenseUrl>https://docs.python.org/3.11/license.html</licenseUrl>
<packageSourceUrl>https://github.com/chocolatey-community/chocolatey-packages/tree/master/automatic/python3-streams</packageSourceUrl>
<projectSourceUrl>https://www.python.org/downloads/source</projectSourceUrl>
<dependencies>
Expand Down
6 changes: 3 additions & 3 deletions automatic/python3-streams/tools/helpers.ps1
Expand Up @@ -37,9 +37,9 @@ function Install-Python {
}

$packageArgs = @{
packageName = 'python312'
packageName = 'python311'
fileType = 'exe'
file = "$toolsPath\python-3.12.0a2.exe"
file = "$toolsPath\python-3.11.1.exe"
silentArgs = '/quiet InstallAllUsers=1 PrependPath={0} TargetDir="{1}"' -f $prependPath, $installDir
validExitCodes = @(0)
}
Expand All @@ -48,7 +48,7 @@ function Install-Python {
$packageArgs['softwareName'] = "Python 3.$minor_version.*"

if (!$only32Bit) {
$packageArgs['file64'] = "$toolsPath\python-3.12.0a2-amd64.exe"
$packageArgs['file64'] = "$toolsPath\python-3.11.1-amd64.exe"
}
else {
$packageArgs['packageName'] = "32-bit $($packageArgs['packageName'])"
Expand Down

0 comments on commit 0eb24ef

Please sign in to comment.