Changeset View
Changeset View
Standalone View
Standalone View
source/creator/creator_args.c
| Show First 20 Lines • Show All 1,904 Lines • ▼ Show 20 Lines | static int arg_handle_python_exit_code_set(int argc, const char **argv, void *UNUSED(data)) | ||||
| else { | else { | ||||
| printf("\nError: you must specify an exit code number '%s'.\n", arg_id); | printf("\nError: you must specify an exit code number '%s'.\n", arg_id); | ||||
| return 0; | return 0; | ||||
| } | } | ||||
| } | } | ||||
| static const char arg_handle_python_use_system_env_set_doc[] = | static const char arg_handle_python_use_system_env_set_doc[] = | ||||
| "\n\t" | "\n\t" | ||||
| "Allow Python to use system environment variables such as 'PYTHONPATH'."; | "Allow Python to use system environment variables such as 'PYTHONPATH' and the user " | ||||
| "site-packages directory."; | |||||
| static int arg_handle_python_use_system_env_set(int UNUSED(argc), | static int arg_handle_python_use_system_env_set(int UNUSED(argc), | ||||
| const char **UNUSED(argv), | const char **UNUSED(argv), | ||||
| void *UNUSED(data)) | void *UNUSED(data)) | ||||
| { | { | ||||
| BPY_python_use_system_env(); | BPY_python_use_system_env(); | ||||
| return 0; | return 0; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 335 Lines • Show Last 20 Lines | |||||