aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2023-07-12 09:43:25 +1200
committerTom Ryder <tom@sanctum.geek.nz>2023-07-12 12:42:10 +1200
commit8eccc03c9d465c8ac5bd95799337c7089c1c344d (patch)
treef2d9e4fd3632cda96e7b88be81ae4ba7bbe1c12c
parentRestore SSHArgumentParser wrapper (diff)
downloadssh_negotiate_term-8eccc03c9d465c8ac5bd95799337c7089c1c344d.tar.gz
ssh_negotiate_term-8eccc03c9d465c8ac5bd95799337c7089c1c344d.zip
Use .py extension rather than .py3 to allow import
-rw-r--r--Makefile4
-rw-r--r--ssh_negotiate_term.py (renamed from ssh_negotiate_term.py3)0
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6bd479d..42542e4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,11 @@
.POSIX:
.PHONY: all install clean
.SUFFIXES:
-.SUFFIXES: .py3
+.SUFFIXES: .py
PREFIX = /usr/local
ALL = ssh_negotiate_term
PYTHON3 = /usr/bin/python3
-.py3:
+.py:
$(PYTHON3) -c pass
awk -v python3=$(PYTHON3) 'NR == 1 { print "#!" python3 } NR > 1' $< > $@
chmod +x ./$@
diff --git a/ssh_negotiate_term.py3 b/ssh_negotiate_term.py
index 3c99613..3c99613 100644
--- a/ssh_negotiate_term.py3
+++ b/ssh_negotiate_term.py