feat(packaging): implement slice 7 native packaging (.deb, .rpm, .tar.gz)
This commit is contained in:
1 parent
e7aa5a54a4
commit
c5c3b87bd9
5 files changed
+652
-1
No files matched your search
@@ -9,6 +9,11 @@ repo_root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
if repo_root not in sys.path:
|
||||
sys.path.insert(0, repo_root)
|
||||
|
||||
# Standard package install locations
|
||||
for install_lib in ["/usr/lib/linux-backuper", "/usr/share/linux-backuper"]:
|
||||
if os.path.isdir(install_lib) and install_lib not in sys.path:
|
||||
sys.path.insert(0, install_lib)
|
||||
|
||||
from linux_backuper.cli import main
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in new issue
Block a user