forked from pyinstaller/pyinstaller
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyi_pythonlib.h
More file actions
31 lines (25 loc) · 1.02 KB
/
pyi_pythonlib.h
File metadata and controls
31 lines (25 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
* ****************************************************************************
* Copyright (c) 2013-2023, PyInstaller Development Team.
*
* Distributed under the terms of the GNU General Public License (version 2
* or later) with exception for distributing the bootloader.
*
* The full license is in the file COPYING.txt, distributed with this software.
*
* SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception)
* ****************************************************************************
*/
/*
* Functions to load, initialize and launch Python.
*/
#ifndef PYI_PYTHONLIB_H
#define PYI_PYTHONLIB_H
struct PYI_CONTEXT;
int pyi_pylib_load(struct PYI_CONTEXT *pyi_ctx);
int pyi_pylib_start_python(const struct PYI_CONTEXT *pyi_ctx);
int pyi_pylib_import_modules(const struct PYI_CONTEXT *pyi_ctx);
int pyi_pylib_install_pyz(const struct PYI_CONTEXT *pyi_ctx);
int pyi_pylib_run_scripts(const struct PYI_CONTEXT *pyi_ctx);
void pyi_pylib_finalize(const struct PYI_CONTEXT *pyi_ctx);
#endif /* PYI_PYTHONLIB_H */