summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar klea2025-12-08 20:32:10 +0100
committerGravatar klea2025-12-08 20:37:52 +0100
commit0729b382ec10586eda465f60b9416bbdf937fba0 (patch)
treea18830b4892b761c0a2b620970c7fe59050c16c6
parentwikibot: use pywikibot instead of mwclient (diff)
signature
cleanup
-rw-r--r--.envrc1
-rw-r--r--.envrc.kleabot3
-rw-r--r--flake.nix3
3 files changed, 2 insertions, 5 deletions
diff --git a/.envrc b/.envrc
index d8cced3..0e0fc98 100644
--- a/.envrc
+++ b/.envrc
@@ -1,3 +1,2 @@
use flake
PATH_add bin
-#source_env .envrc.kleabot
diff --git a/.envrc.kleabot b/.envrc.kleabot
deleted file mode 100644
index 9f7ec73..0000000
--- a/.envrc.kleabot
+++ /dev/null
@@ -1,3 +0,0 @@
-export ATWIKI_EN="KleaBot"
-export ATWIKIBOT_USERNAME="KleaBot@kleart"
-export ATWIKIBOT_PASSWORD="$(pass show "wiki.archiveteam.org/${ATWIKIBOT_USERNAME}" | head -1)"
diff --git a/flake.nix b/flake.nix
index 213c4a3..e3c2cfc 100644
--- a/flake.nix
+++ b/flake.nix
@@ -19,7 +19,8 @@
default = pkgs.mkShellNoCC {
packages = (with pkgs; [
(python3.withPackages (p: [
- p.requests p.mwclient p.lxml p.jsonpatch
+ p.requests
+ p.lxml
p.pywikibot
]))
python3Packages.pywikibot