diff --git a/PKGBUILD b/PKGBUILD index fa8e05a..f02f12c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -14,8 +14,7 @@ makedepends=('git' 'python-build' 'python-installer') depends=('python>=3.10' - 'rsync' - 'python-dotenv') + 'rsync') optdepends=('python-systemd: use systemd log' 'python-dbus: for desktop notifications' 'python-paramiko: for remote backup through ssh') diff --git a/README.md b/README.md index dba5e0e..5038b44 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,6 @@ The script uses rsync to actually run the backup, so you will have to install it sudo pacman -Syu rsync ``` -It's also required to have python-dotenv - Optional dependencies are systemd-python to enable using systemd journal for logging, and dbus-python for desktop notifications. ## Install diff --git a/pyproject.toml b/pyproject.toml index 2da4466..e53d8ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,9 +29,6 @@ classifiers = [ "Programming Language :: Python :: 3.14", "Topic :: System :: Archiving :: Backup", ] -dependencies = [ - "python-dotenv", -] [project.optional-dependencies] JOURNAL = ["systemd-python"] diff --git a/simple_backup/simple_backup.py b/simple_backup/simple_backup.py index aa5fb67..05bf67f 100755 --- a/simple_backup/simple_backup.py +++ b/simple_backup/simple_backup.py @@ -34,8 +34,6 @@ from tempfile import mkstemp from getpass import GetPassWarning, getpass from glob import glob -from dotenv import load_dotenv - try: import paramiko from paramiko import RSAKey, Ed25519Key, ECDSAKey, DSSKey @@ -53,7 +51,6 @@ except ImportError: dbus = None -load_dotenv() logging.getLogger().setLevel(logging.DEBUG) logger = logging.getLogger(os.path.basename(__file__)) c_handler = StreamHandler()