Skip to main content

Make cog_helpers.py available in CI also

ID
123105e
date
2023-12-25 23:39:14+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
48e2f62
message
Make cog_helpers.py available in CI also
changed files
1 file, 4 additions, 1 deletion

Changed files

macos/README.md (4101) → macos/README.md (4207)

diff --git a/macos/README.md b/macos/README.md
index ef282e1..bc53eea 100644
--- a/macos/README.md
+++ b/macos/README.md
@@ -7,7 +7,10 @@ They rely on Mac-specific stuff and are unlikely to be useful on non-Mac systems
 
 <!-- [[[cog
 
-import sys; sys.path.append("/Users/alexwlchan/repos/scripts")
+# This adds the root of the repo to the PATH, which has cog_helpers.py
+from os.path import abspath, dirname
+import sys; sys.path.append(abspath(dirname(dirname("."))))
+
 import cog_helpers
 
 folder_name = "macos"