tag: remove_sdl1_2
commit eca730f00ffb651e9e05d140b5520a089055dc31
Author: Kai Sterker <[email protected]>
Commit: Kai Sterker <[email protected]>

    ADDED custom site.py for Adonthell's embedded Python interpreter
---
 win32/site.py |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/win32/site.py b/win32/site.py
new file mode 100644
index 0000000..17d6175
--- /dev/null
+++ b/win32/site.py
@@ -0,0 +1,24 @@
+"""Append module search paths for third-party packages to sys.path.
+
+****************************************************************
+* This module is automatically imported during initialization. *
+****************************************************************
+
+Minimum site.py for Python embedded in Adonthell.
+"""
+
+import sys
+
+def main():
+       pass
+
+main()
+
+def _test():
+    print "sys.path = ["
+    for dir in sys.path:
+        print "    %r," % (dir,)
+    print "]"
+
+if __name__ == '__main__':
+    _test()

_______________________________________________
Adonthell-commits mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/adonthell-commits

Reply via email to