Explorar o código

Added link to Python docs for ._pth file description.

Nicholas H.Tollervey %!s(int64=7) %!d(string=hai) anos
pai
achega
36db6589b7
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      nsist/__init__.py

+ 3 - 1
nsist/__init__.py

@@ -201,7 +201,9 @@ class InstallerBuilder(object):
             z.extractall(python_dir)
 
         # Manipulate any *._pth files so the default paths AND pkgs directory
-        # ends up in sys.path.
+        # ends up in sys.path. Please see:
+        # https://docs.python.org/3/using/windows.html#finding-modules
+        # for more information.
         pth_files = [f for f in os.listdir(python_dir)
                      if os.path.isfile(pjoin(python_dir, f))
                      and f.endswith('._pth')]