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