mirror of
https://github.com/actions/setup-python.git
synced 2025-07-26 03:48:20 +02:00
Add generated .d.ts and .d.ts.map files
This commit is contained in:
parent
6ae21f0d45
commit
1173a1039c
44 changed files with 416 additions and 0 deletions
38
dist/setup/install-pypy.d.ts
vendored
Normal file
38
dist/setup/install-pypy.d.ts
vendored
Normal file
|
@ -0,0 +1,38 @@
|
|||
import {IPyPyManifestRelease} from './utils';
|
||||
export declare function installPyPy(
|
||||
pypyVersion: string,
|
||||
pythonVersion: string,
|
||||
architecture: string
|
||||
): Promise<{
|
||||
installDir: string;
|
||||
resolvedPythonVersion: string;
|
||||
resolvedPyPyVersion: string;
|
||||
}>;
|
||||
export declare function findRelease(
|
||||
releases: IPyPyManifestRelease[],
|
||||
pythonVersion: string,
|
||||
pypyVersion: string,
|
||||
architecture: string
|
||||
): {
|
||||
foundAsset: any;
|
||||
resolvedPythonVersion: string;
|
||||
resolvedPyPyVersion: string;
|
||||
} | null;
|
||||
/** Get PyPy binary location from the tool of installation directory
|
||||
* - On Linux and macOS, the Python interpreter is in 'bin'.
|
||||
* - On Windows, it is in the installation root.
|
||||
*/
|
||||
export declare function getPyPyBinaryPath(installDir: string): string;
|
||||
export declare function pypyVersionToSemantic(versionSpec: string): string;
|
||||
export declare function isArchPresentForWindows(item: any): any;
|
||||
export declare function isArchPresentForMacOrLinux(
|
||||
item: any,
|
||||
architecture: string,
|
||||
platform: string
|
||||
): any;
|
||||
export declare function findAssetForWindows(releases: any): any;
|
||||
export declare function findAssetForMacOrLinux(
|
||||
releases: any,
|
||||
architecture: string,
|
||||
platform: string
|
||||
): any;
|
Loading…
Add table
Add a link
Reference in a new issue