Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove use of Environment Python #904

Open
wants to merge 5 commits into
base: beta
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion howdy-gtk/bin/howdy-gtk.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

env python3 "@script_path@" "$@"
/usr/bin/python3 "@script_path@" "$@"
dthelegend marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 1 addition & 1 deletion howdy-gtk/src/init.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/python3
dthelegend marked this conversation as resolved.
Show resolved Hide resolved
# Opens auth ui if requested, otherwise starts normal ui
import sys

Expand Down
2 changes: 1 addition & 1 deletion howdy/src/bin/howdy.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

env python3 "@script_path@" "$@"
/usr/bin/python3 "@script_path@" "$@"
dthelegend marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 1 addition & 1 deletion howdy/src/cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/python3
dthelegend marked this conversation as resolved.
Show resolved Hide resolved
# CLI directly called by running the howdy command

# Import required modules
Expand Down
2 changes: 1 addition & 1 deletion howdy/src/compare.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/python3
dthelegend marked this conversation as resolved.
Show resolved Hide resolved
# Compare incoming video with known faces
# Running in a local python instance to get around PATH issues

Expand Down
2 changes: 1 addition & 1 deletion howdy/src/pam/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
const auto DEFAULT_TIMEOUT =
std::chrono::duration<int, std::chrono::milliseconds::period>(100);
const auto MAX_RETRIES = 5;
const auto PYTHON_EXECUTABLE = "python3";
const auto PYTHON_EXECUTABLE = "/usr/bin/python3";
dthelegend marked this conversation as resolved.
Show resolved Hide resolved

#define S(msg) gettext(msg)

Expand Down