File: test_python.adb

package info (click to toggle)
libgnatcoll 23.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,460 kB
  • sloc: ada: 54,839; python: 1,268; ansic: 720; makefile: 229; sh: 149
file content (16 lines) | stat: -rw-r--r-- 351 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
with Ada.Environment_Variables;

package body Test_Python is

   package Env renames Ada.Environment_Variables;

   -----------------------
   -- Python_Executable --
   -----------------------

   function Python_Executable return UTF8.UTF_8_String is
   begin
      return Env.Value ("PYTHON_EXEC_PATH");
   end Python_Executable;

end Test_Python;