From 37188603b52a3dac23df229ada82c7da0c3d9c00 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Mon, 17 Oct 2016 15:20:29 +0200 Subject: [PATCH] Make maintenance scripts installable Add wrappers for the maintenance scripts to the setuptools configuration. Signed-off-by: Lukas Fleischer --- {scripts => aurweb/scripts}/__init__.py | 0 {scripts => aurweb/scripts}/aurblup.py | 0 {scripts => aurweb/scripts}/mkpkglists.py | 0 {scripts => aurweb/scripts}/notify.py | 0 {scripts => aurweb/scripts}/pkgmaint.py | 0 {scripts => aurweb/scripts}/popupdate.py | 0 {scripts => aurweb/scripts}/tuvotereminder.py | 0 setup.py | 6 ++++++ upgrading/4.4.1.txt | 3 +++ 9 files changed, 9 insertions(+) rename {scripts => aurweb/scripts}/__init__.py (100%) rename {scripts => aurweb/scripts}/aurblup.py (100%) rename {scripts => aurweb/scripts}/mkpkglists.py (100%) rename {scripts => aurweb/scripts}/notify.py (100%) rename {scripts => aurweb/scripts}/pkgmaint.py (100%) rename {scripts => aurweb/scripts}/popupdate.py (100%) rename {scripts => aurweb/scripts}/tuvotereminder.py (100%) diff --git a/scripts/__init__.py b/aurweb/scripts/__init__.py similarity index 100% rename from scripts/__init__.py rename to aurweb/scripts/__init__.py diff --git a/scripts/aurblup.py b/aurweb/scripts/aurblup.py similarity index 100% rename from scripts/aurblup.py rename to aurweb/scripts/aurblup.py diff --git a/scripts/mkpkglists.py b/aurweb/scripts/mkpkglists.py similarity index 100% rename from scripts/mkpkglists.py rename to aurweb/scripts/mkpkglists.py diff --git a/scripts/notify.py b/aurweb/scripts/notify.py similarity index 100% rename from scripts/notify.py rename to aurweb/scripts/notify.py diff --git a/scripts/pkgmaint.py b/aurweb/scripts/pkgmaint.py similarity index 100% rename from scripts/pkgmaint.py rename to aurweb/scripts/pkgmaint.py diff --git a/scripts/popupdate.py b/aurweb/scripts/popupdate.py similarity index 100% rename from scripts/popupdate.py rename to aurweb/scripts/popupdate.py diff --git a/scripts/tuvotereminder.py b/aurweb/scripts/tuvotereminder.py similarity index 100% rename from scripts/tuvotereminder.py rename to aurweb/scripts/tuvotereminder.py diff --git a/setup.py b/setup.py index b64e71cb..99dbfedf 100644 --- a/setup.py +++ b/setup.py @@ -22,6 +22,12 @@ setup( 'aurweb-git-auth = aurweb.git.auth:main', 'aurweb-git-serve = aurweb.git.serve:main', 'aurweb-git-update = aurweb.git.update:main', + 'aurweb-aurblup = aurweb.scripts.aurblup:main', + 'aurweb-mkpkglists = aurweb.scripts.mkpkglists:main', + 'aurweb-notify = aurweb.scripts.notify:main', + 'aurweb-pkgmaint = aurweb.scripts.pkgmaint:main', + 'aurweb-popupdate = aurweb.scripts.popupdate:main', + 'aurweb-tuvotereminder = aurweb.scripts.tuvotereminder:main', ], }, ) diff --git a/upgrading/4.4.1.txt b/upgrading/4.4.1.txt index b06696e0..726f9e2b 100644 --- a/upgrading/4.4.1.txt +++ b/upgrading/4.4.1.txt @@ -1,3 +1,6 @@ 1. The default configuration file search path now points to /etc/aurweb/config. Make sure you copy your aurweb configuration to the new location before upgrading. + +2. The maintenance scripts have been prefixed by "aurweb-" and can now be + installed using `python3 setup.py install`. -- 2.11.4.GIT