Move Python 2 libs to libs/py2

This commit is contained in:
Labrys of Knossos 2018-12-16 13:33:56 -05:00
commit 3975aaceb2
12 changed files with 4 additions and 0 deletions

View file

@ -24,6 +24,10 @@ sys.path.insert(0, LIBS_DIR_COMMON)
LIBS_DIR_CUSTOM = os.path.join(LIBS_DIR, 'custom')
sys.path.insert(0, LIBS_DIR_CUSTOM)
if sys.version_info[0] == 2:
LIBS_DIR_PY2 = os.path.join(LIBS_DIR, 'py2')
sys.path.insert(0, LIBS_DIR_PY2)
# init preliminaries
SYS_ARGV = sys.argv[1:]
APP_FILENAME = sys.argv[0]