Commit e2e59d3c authored by Yann Leboulanger's avatar Yann Leboulanger

add windows specific stuff in sources

parent d1207a40
......@@ -17,8 +17,25 @@
## GNU General Public License for more details.
##
import sys
import os
if os.name == 'nt':
import warnings
warnings.filterwarnings(action='ignore')
# Used to create windows installer with GTK included
# paths = os.environ['PATH']
# list_ = paths.split(';')
# new_list = []
# for p in list_:
# if p.find('gtk') < 0 and p.find('GTK') < 0:
# new_list.append(p)
# new_list.insert(0, 'gtk/lib')
# new_list.insert(0, 'gtk/bin')
# os.environ['PATH'] = ';'.join(new_list)
# os.environ['GTK_BASEPATH'] = 'gtk'
import sys
import urllib
from common import i18n
......
......@@ -16,9 +16,26 @@
## NOTE: some method names may match those of logger.py but that's it
## someday (TM) should have common class that abstracts db connections and helpers on it
## the same can be said for history_window.py
import os
if os.name == 'nt':
import warnings
warnings.filterwarnings(action='ignore')
# Used to create windows installer with GTK included
# paths = os.environ['PATH']
# list_ = paths.split(';')
# new_list = []
# for p in list_:
# if p.find('gtk') < 0 and p.find('GTK') < 0:
# new_list.append(p)
# new_list.insert(0, 'gtk/lib')
# new_list.insert(0, 'gtk/bin')
# os.environ['PATH'] = ';'.join(new_list)
# os.environ['GTK_BASEPATH'] = 'gtk'
import sys
import os
import signal
import gtk
import time
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment