npbackup/bin/npbackup

17 lines
343 B
Text
Raw Normal View History

2023-01-27 18:30:06 +08:00
#! /usr/bin/env python
# -*- coding: utf-8 -*-
#
# This file is part of npbackup, and is really just a binary shortcut to launch npbackup.main
import os
import sys
sys.path.insert(0, os.path.normpath(os.path.join(os.path.dirname(__file__), "..")))
from npbackup.__main__ import main
2023-01-27 18:30:06 +08:00
del sys.path[0]
if __name__ == "__main__":
main()