Commits

Ian Lewis committed 176fdb7

Added project "lib" dir to the sys.path

  • Participants
  • Parent commits 31b56f6

Comments (0)

Files changed (1)

 import os
 import logging
 
-sys.path = [os.path.abspath(os.path.dirname(__file__))] + sys.path
+PROJECT_DIR = os.path.abspath(os.path.dirname(__file__))
+sys.path = [PROJECT_DIR, os.path.join(PROJECT_DIR, 'lib')] + sys.path
+
 import kay
 kay.setup_env(manage_py_env=True)
 from werkzeug import script