File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -6738,6 +6738,10 @@ function usePyPy(majorVersion, architecture) {
6738
6738
core . exportVariable ( 'pythonLocation' , pythonLocation ) ;
6739
6739
core . addPath ( installDir ) ;
6740
6740
core . addPath ( _binDir ) ;
6741
+ // Starting from PyPy 7.3.1, the folder that is used for pip and anything that pip installs should be "Scripts" on Windows.
6742
+ if ( IS_WINDOWS ) {
6743
+ core . addPath ( path . join ( installDir , 'Scripts' ) ) ;
6744
+ }
6741
6745
const impl = 'pypy' + majorVersion . toString ( ) ;
6742
6746
core . setOutput ( 'python-version' , impl ) ;
6743
6747
return { impl : impl , version : versionFromPath ( installDir ) } ;
Original file line number Diff line number Diff line change @@ -66,6 +66,10 @@ function usePyPy(
66
66
67
67
core . addPath ( installDir ) ;
68
68
core . addPath ( _binDir ) ;
69
+ // Starting from PyPy 7.3.1, the folder that is used for pip and anything that pip installs should be "Scripts" on Windows.
70
+ if ( IS_WINDOWS ) {
71
+ core . addPath ( path . join ( installDir , 'Scripts' ) ) ;
72
+ }
69
73
70
74
const impl = 'pypy' + majorVersion . toString ( ) ;
71
75
core . setOutput ( 'python-version' , impl ) ;
You can’t perform that action at this time.
0 commit comments