From a2754a263ea617761b5548df4dd8260aae2d174d Mon Sep 17 00:00:00 2001 From: Thomas Robitaille Date: Thu, 25 Apr 2024 22:55:22 +0100 Subject: [PATCH] Fix calling script --- pyproject.toml | 3 +++ scripts/psrecord | 7 ------- 2 files changed, 3 insertions(+), 7 deletions(-) delete mode 100755 scripts/psrecord diff --git a/pyproject.toml b/pyproject.toml index 4109329..c123253 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,6 +29,9 @@ plot = [ "matplotlib", ] +[project.scripts] +psrecord = "psrecord.main:main" + [project.license] text = "Simplified BSD License" diff --git a/scripts/psrecord b/scripts/psrecord deleted file mode 100755 index 548bada..0000000 --- a/scripts/psrecord +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env python - -import sys -import psrecord - -if __name__ == '__main__': - sys.exit(psrecord.main()) \ No newline at end of file