Skip to content

Commit

Permalink
forces a python update
Browse files Browse the repository at this point in the history
hooks didn't work
  • Loading branch information
MosleyTheMalO committed Sep 6, 2024
1 parent 3f8c98d commit d479bb3
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 12 deletions.
2 changes: 1 addition & 1 deletion dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export NODE_VERSION_PRECISE=16.13.1
export SPACEMAN_DMM_VERSION=suite-1.8

# Python version for mapmerge and other tools
export PYTHON_VERSION=3.7.9
export PYTHON_VERSION=3.9.0

# Auxmos git tag
export AUXMOS_VERSION=v2.5.1
Expand Down
6 changes: 0 additions & 6 deletions tools/bootstrap/python37._pth

This file was deleted.

7 changes: 6 additions & 1 deletion tools/bootstrap/python_.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,13 @@ if (!(Test-Path $PythonExe -PathType Leaf)) {

[System.IO.Compression.ZipFile]::ExtractToDirectory($Archive, $PythonDir)

$PythonVersionArray = $PythonVersion.Split(".")
$PythonVersionString = "python$($PythonVersionArray[0])$($PythonVersionArray[1])"
Write-Output "Generating PATH descriptor."
New-Item "$Cache/$PythonVersionString._pth" | Out-Null
Set-Content "$Cache/$PythonVersionString._pth" "$PythonVersionString.zip`n.`n..\..\..`nimport site`n"
# Copy a ._pth file without "import site" commented, so pip will work
Copy-Item "$Bootstrap/python37._pth" $PythonDir `
Copy-Item "$Cache/$PythonVersionString._pth" $PythonDir `
-ErrorAction Stop

Remove-Item $Archive
Expand Down
14 changes: 10 additions & 4 deletions tools/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
pygit2==1.0.1
bidict==0.13.1
Pillow==9.5.0
pygit2==1.11.1
bidict==0.22.0
Pillow==10.3.0

# changelogs
PyYaml==5.4
PyYaml==6.0.1
beautifulsoup4==4.9.3

# ezdb
mysql-connector-python==8.0.33

# icon cutter
numpy==1.26.0

0 comments on commit d479bb3

Please sign in to comment.