From cee69f5277a49900775c181e0e4d5f6d971e29ca Mon Sep 17 00:00:00 2001 From: Raphael Roberts Date: Tue, 25 May 2021 14:49:48 -0500 Subject: [PATCH] Added skeleton of a package --- .gitignore | 1 + MANIFEST.in | 1 + openwrt_backup/__init__.py | 0 requirements.txt | 1 + setup.py | 14 ++++++++++++++ 5 files changed, 17 insertions(+) create mode 100644 .gitignore create mode 100755 MANIFEST.in create mode 100644 openwrt_backup/__init__.py create mode 100755 requirements.txt create mode 100644 setup.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d494556 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/.dir-locals.el diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100755 index 0000000..f9bd145 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +include requirements.txt diff --git a/openwrt_backup/__init__.py b/openwrt_backup/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/requirements.txt b/requirements.txt new file mode 100755 index 0000000..8608c1b --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +paramiko diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..44a93b4 --- /dev/null +++ b/setup.py @@ -0,0 +1,14 @@ +from setuptools import setup, find_packages + +with open("requirements.txt") as file: + INSTALL_REQUIRES = file.read().rstrip().split("\n") + +setup( + name="openwrt_backup", + version="1.0", + description="Backup files from openwrt and copy to computer", + install_requires=INSTALL_REQUIRES, + author="Raphael Roberts", + author_email="raphael.roberts48@gmail.com", + packages=find_packages(), +)