From 01ee024ce207f243bab94f5659f3b95f5afc38c1 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sun, 16 Apr 2023 16:54:12 +0300
Subject: [PATCH] Add a .pypirc secure template.

---
 .pypirc.j2 | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 .pypirc.j2

diff --git a/.pypirc.j2 b/.pypirc.j2
new file mode 100644
index 0000000..9b076dd
--- /dev/null
+++ b/.pypirc.j2
@@ -0,0 +1,8 @@
+# vim: ft=config
+[distutils]
+index-servers =
+    pypi
+
+[pypi]
+username = __token__
+password = {{ run(["ph", "show", "--field", "Global token", "Web sites/PyPI"])["stdout"] }}
-- 
GitLab