summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/scripts/xbackup (renamed from src/xbackup/__main__.py)3
-rw-r--r--src/setup.py1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/xbackup/__main__.py b/src/scripts/xbackup
index 1646a5f..0155203 100644
--- a/src/xbackup/__main__.py
+++ b/src/scripts/xbackup
@@ -1,3 +1,4 @@
+#!/usr/bin/python3
# vim: shiftwidth=4 tabstop=4 expandtab
@@ -9,6 +10,8 @@ Have a look at https://gitea.xengineering.eu/xengineering/xbackup for details.
import argparse
+import xbackup
+
def main():
"""Main Function of this Script"""
diff --git a/src/setup.py b/src/setup.py
index 4666c36..4279fe8 100644
--- a/src/setup.py
+++ b/src/setup.py
@@ -12,4 +12,5 @@ setup(name="xbackup",
author_email="me@xengineering.eu",
url="https://xengineering.eu",
packages=["xbackup"],
+ scripts=["scripts/xbackup"],
)