Browse Source

Absolute import

master v1.0
Raphael Roberts 5 years ago
parent
commit
c2000d7745
  1. 2
      openwrt_backup/retrieve.py
  2. 1
      setup.py

2
openwrt_backup/retrieve.py

@ -2,7 +2,7 @@ from pathlib import Path
from paramiko.client import SSHClient from paramiko.client import SSHClient
from utils import exec_remote
from openwrt_backup.utils import exec_remote
def make_backup_on_remote(client: SSHClient, tmp_path: Path): def make_backup_on_remote(client: SSHClient, tmp_path: Path):

1
setup.py

@ -10,6 +10,7 @@ setup(
install_requires=INSTALL_REQUIRES, install_requires=INSTALL_REQUIRES,
author="Raphael Roberts", author="Raphael Roberts",
author_email="raphael.roberts48@gmail.com", author_email="raphael.roberts48@gmail.com",
entry_points={"console_scripts": ["openwrt-backup = openwrt_backup:main"]},
packages=["openwrt_backup"], packages=["openwrt_backup"],
package_data={"openwrt_backup": ["config.toml"]}, package_data={"openwrt_backup": ["config.toml"]},
) )
Loading…
Cancel
Save