diff options
author | xengineering <me@xengineering.eu> | 2021-09-03 10:50:26 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2021-09-03 10:50:26 +0200 |
commit | 2f74c0f91da0a5aefce7715213935eee0069c738 (patch) | |
tree | 2e610237b80e09b9164962336d22fc53519b7157 /src | |
parent | fc1c44f7368743809994dcfa1e84443bbde7e083 (diff) | |
download | xbackup-2f74c0f91da0a5aefce7715213935eee0069c738.tar xbackup-2f74c0f91da0a5aefce7715213935eee0069c738.tar.zst xbackup-2f74c0f91da0a5aefce7715213935eee0069c738.zip |
Add Executable
Diffstat (limited to 'src')
-rw-r--r-- | src/scripts/xbackup (renamed from src/xbackup/__main__.py) | 3 | ||||
-rw-r--r-- | src/setup.py | 1 |
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"], ) |