summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-09-05 19:28:46 -0400
committerJohn Turner <jturner.usa@gmail.com>2025-09-05 19:28:46 -0400
commit0a350eaa7a891fc6a9a2daccc4d190da4000db50 (patch)
tree163a349b9f06d37f397f9824ed71857708fc071d
parentc6444a83790aa370f5e39c11cbeceda6e8878e26 (diff)
downloadpypaste-0a350eaa7a891fc6a9a2daccc4d190da4000db50.tar.gz
create script to launch pypaste from /usr/bin
-rw-r--r--bin/pypaste3
-rw-r--r--meson.build2
2 files changed, 5 insertions, 0 deletions
diff --git a/bin/pypaste b/bin/pypaste
new file mode 100644
index 0000000..53f01fd
--- /dev/null
+++ b/bin/pypaste
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec python -m pypaste "$@"
diff --git a/meson.build b/meson.build
index 7de9eef..4497213 100644
--- a/meson.build
+++ b/meson.build
@@ -9,3 +9,5 @@ install_data(
rename: ['paste'],
install_dir: get_option('bindir'),
)
+
+install_data('bin/pypaste', install_dir: get_option('bindir'))