[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[adonthell-wastesedge-commits] remove_sdl1_2 eca730f 02/29: ADDED custom
From: |
Kai Sterker |
Subject: |
[adonthell-wastesedge-commits] remove_sdl1_2 eca730f 02/29: ADDED custom site.py for Adonthell's embedded Python interpreter |
Date: |
Mon, 25 Jul 2016 18:16:06 +0000 (UTC) |
tag: remove_sdl1_2
commit eca730f00ffb651e9e05d140b5520a089055dc31
Author: Kai Sterker <address@hidden>
Commit: Kai Sterker <address@hidden>
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-wastesedge-commits] tag remove_sdl1_2 created (now cb91a44), Kai Sterker, 2016/07/25
- [adonthell-wastesedge-commits] remove_sdl1_2 eca730f 02/29: ADDED custom site.py for Adonthell's embedded Python interpreter,
Kai Sterker <=
- [adonthell-wastesedge-commits] remove_sdl1_2 6003b54 16/29: FIXED deadlock during extro, Kai Sterker, 2016/07/25
- [adonthell-wastesedge-commits] remove_sdl1_2 eca4ca6 15/29: FIXED URLs in end credits, Kai Sterker, 2016/07/25
- [adonthell-wastesedge-commits] remove_sdl1_2 7197e65 05/29: ADDED missing file (thanks Clément Plantier), Kai Sterker, 2016/07/25
- [adonthell-wastesedge-commits] remove_sdl1_2 cb91a44 29/29: FIXED activating final dialogue twice, when rapidly pressing space, Kai Sterker, 2016/07/25
- [adonthell-wastesedge-commits] remove_sdl1_2 b044632 19/29: ADDED larger icons and updated .desktop file accordingly, Kai Sterker, 2016/07/25
- [adonthell-wastesedge-commits] remove_sdl1_2 1b1c82b 06/29: FIXED spelling error/missing translation (Thanks Clément), Kai Sterker, 2016/07/25
- [adonthell-wastesedge-commits] remove_sdl1_2 1c4c04f 22/29: FIXED installation of message catalogues. We expect them inside the game directory, Kai Sterker, 2016/07/25
- [adonthell-wastesedge-commits] remove_sdl1_2 e011a99 24/29: ADDED window to display locked/unlocked achievements, Kai Sterker, 2016/07/25
- [adonthell-wastesedge-commits] remove_sdl1_2 3c0a585 08/29: FIXED deprecated Copyright keyword (Thanks Mathieu!), Kai Sterker, 2016/07/25
- [adonthell-wastesedge-commits] remove_sdl1_2 3c8ad19 25/29: UPDATED README and assorted files, Kai Sterker, 2016/07/25