From 31dc8f423f1a3c719e8bd7519c33a33073c939e1 Mon Sep 17 00:00:00 2001 From: Kyle Gottfried <6462596+Spitfire1900@users.noreply.github.com> Date: Sat, 23 Mar 2024 13:35:12 -0400 Subject: [PATCH] add more docs to __init__.py --- xontrib/pygitstatus/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xontrib/pygitstatus/__init__.py b/xontrib/pygitstatus/__init__.py index 5422987..1a543d3 100644 --- a/xontrib/pygitstatus/__init__.py +++ b/xontrib/pygitstatus/__init__.py @@ -1 +1,4 @@ -# This module is loaded by xontrib if no entrypoint is defined. -- https://xon.sh/tutorial_xontrib.html#structure +# Xonsh used to use namespace packages as the only supported way to load xontribs, there is still code in older +# versions of Xonsh that sort of expect this. +# When using namespace packages this __init__.py file is loaded if no entrypoint is defined. +# -- https://xon.sh/tutorial_xontrib.html#structure