2010-11-27 10:25:58 +05:30
|
|
|
#
|
|
|
|
# Gramps - a GTK+ based genealogy program
|
|
|
|
#
|
|
|
|
# Copyright (C) 2010 Stephen George
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
2014-08-09 07:59:07 +05:30
|
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2010-11-27 10:25:58 +05:30
|
|
|
#
|
|
|
|
# $Id: $
|
|
|
|
import sys
|
|
|
|
import os
|
|
|
|
import _winreg
|
|
|
|
from ctypes.util import find_library
|
|
|
|
import getopt
|
|
|
|
import string
|
|
|
|
|
|
|
|
NOT_FOUND_STR ='Not Found'
|
|
|
|
#small selection of DLL's to test
|
|
|
|
testdlls = ['libgdk-win32-2.0-0.dll', 'libglib-2.0-0.dll', 'libgobject-2.0-0.dll', 'libcairo-2.dll', ]
|
|
|
|
|
|
|
|
explain_exposed = ''' ***********************************************************
|
|
|
|
* It seems that other installations are exposing GTK DLL's
|
|
|
|
* to the operating system as they are in the environment
|
|
|
|
* path variable BEFORE the runtime directory.
|
|
|
|
* You should reorder the path variable to put your GTK
|
2016-08-22 20:18:17 +05:30
|
|
|
* runtime path before these other installations on the path'''
|
2010-11-27 10:25:58 +05:30
|
|
|
|
|
|
|
explain_safe = ''' ***************************************************************
|
|
|
|
* While there are other installations of GTK DLL's on the path,
|
|
|
|
* it should be safe as they are on the path AFTER the runtime
|
2016-08-22 20:18:17 +05:30
|
|
|
* directory. '''
|
2010-11-27 10:25:58 +05:30
|
|
|
|
|
|
|
def RunExeCommand( app, args ):
|
|
|
|
cmd = app + ' ' + args
|
2016-08-22 20:18:17 +05:30
|
|
|
#print("Running: ", cmd)
|
2010-11-27 10:25:58 +05:30
|
|
|
stdin, stdout, stderr = os.popen3( cmd )
|
|
|
|
output = string.strip(stdout.read())
|
2016-08-22 20:18:17 +05:30
|
|
|
#print(output)
|
2010-11-27 10:25:58 +05:30
|
|
|
err = stderr.read()
|
|
|
|
if err:
|
2016-08-22 20:18:17 +05:30
|
|
|
print(err)
|
2010-11-27 10:25:58 +05:30
|
|
|
return output
|
2016-08-22 20:18:17 +05:30
|
|
|
|
2010-11-27 10:25:58 +05:30
|
|
|
def CheckGtkInReg():
|
|
|
|
global gtkPathInRegistry, gtkVersionInRegistry, dllPathInRegistry, dllPathShort
|
2016-08-22 20:18:17 +05:30
|
|
|
print('\n==== Checking Registry for GTK =====')
|
2010-11-27 10:25:58 +05:30
|
|
|
try:
|
|
|
|
with _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, 'SOFTWARE\\GTK\\2.0') as key:
|
|
|
|
gtkVersionInRegistry = _winreg.QueryValueEx(key, 'Version')[0]
|
|
|
|
gtkPathInRegistry = _winreg.QueryValueEx(key, 'Path')[0]
|
|
|
|
dllPathInRegistry = _winreg.QueryValueEx(key, 'DllPath')[0]
|
2016-08-22 20:18:17 +05:30
|
|
|
print(' Version :', gtkVersionInRegistry)
|
|
|
|
print(' Path :', gtkPathInRegistry)
|
|
|
|
print(' DllPath :', dllPathInRegistry)
|
|
|
|
|
|
|
|
except WindowsError as e:
|
|
|
|
print('\n GTK registry key not found in registry')
|
|
|
|
print(''' ********************************************************************
|
2010-11-27 10:25:58 +05:30
|
|
|
* This might not be an error, but means I don't know the directory to
|
2016-08-22 20:18:17 +05:30
|
|
|
* your preferred GTK installation.
|
|
|
|
* - try passing in your GTK installation path.\n''')
|
|
|
|
print('-' * 60)
|
|
|
|
print(usage)
|
2010-11-27 10:25:58 +05:30
|
|
|
sys.exit(0)
|
2016-08-22 20:18:17 +05:30
|
|
|
|
2010-11-27 10:25:58 +05:30
|
|
|
def WorkOutShortDosPath():
|
|
|
|
global dllPathShort
|
2016-08-22 20:18:17 +05:30
|
|
|
print('\n==== Use win32Api to query short path name for GTK =====')
|
2010-11-27 10:25:58 +05:30
|
|
|
try:
|
|
|
|
import win32api
|
|
|
|
dllPathShort = win32api.GetShortPathName(dllPathInRegistry)
|
2016-08-22 20:18:17 +05:30
|
|
|
print(' DllPath8.3:', dllPathShort)
|
2010-11-27 10:25:58 +05:30
|
|
|
except ImportError:
|
2016-08-22 20:18:17 +05:30
|
|
|
print(' **Cant query short path name, Win32Api not installed')
|
|
|
|
print(' install from http://python.net/crew/mhammond/win32/')
|
|
|
|
print(' if you want this function to work')
|
2010-11-27 10:25:58 +05:30
|
|
|
|
2016-08-22 20:18:17 +05:30
|
|
|
def FindLibsWithCtypes():
|
|
|
|
# use ctypes to check where windows finds it's DLL's
|
|
|
|
print('\n==== Use ctypes to find dlls ====')
|
2010-11-27 10:25:58 +05:30
|
|
|
other_paths = []
|
|
|
|
for dll in testdlls:
|
|
|
|
dllpathvalid = False
|
|
|
|
cpath = find_library(dll)
|
|
|
|
if cpath:
|
2016-08-22 20:18:17 +05:30
|
|
|
#print(cpath)
|
2010-11-27 10:25:58 +05:30
|
|
|
if cpath == os.path.join(dllPathInRegistry, dll) \
|
|
|
|
or cpath == os.path.join(dllPathShort, dll):
|
|
|
|
dllpathvalid = True
|
2016-08-22 20:18:17 +05:30
|
|
|
|
2010-11-27 10:25:58 +05:30
|
|
|
if not dllpathvalid:
|
|
|
|
pp = os.path.dirname(cpath)
|
|
|
|
if pp not in other_paths:
|
|
|
|
other_paths.append(pp)
|
|
|
|
else:
|
2016-08-22 20:18:17 +05:30
|
|
|
print(" ERROR:... ctypes failed to find %s" % dll)
|
2010-11-27 10:25:58 +05:30
|
|
|
if other_paths:
|
|
|
|
for pth in other_paths:
|
2016-08-22 20:18:17 +05:30
|
|
|
print(" ERROR: ctypes loaded some gtk dll's from %s" % pth)
|
2010-11-27 10:25:58 +05:30
|
|
|
else:
|
2016-08-22 20:18:17 +05:30
|
|
|
print(" OK ... ctypes found dll's in %s" % os.path.dirname(cpath))
|
|
|
|
|
2010-11-27 10:25:58 +05:30
|
|
|
def ScanDependencyFileForErrors(fname):
|
|
|
|
fin = open(fname, 'r')
|
|
|
|
lines = fin.readlines()
|
|
|
|
fin.close()
|
|
|
|
sysroot = os.environ["SystemRoot"]
|
|
|
|
capture = False
|
|
|
|
runtimedlls = {}
|
|
|
|
for line in lines:
|
|
|
|
if line.startswith(" Module"): # work out were paths end
|
|
|
|
pthend_idx = line.find("File Time Stamp")
|
|
|
|
acceptablePaths = [ dllPathShort.lower(),
|
|
|
|
dllPathInRegistry.lower(),
|
|
|
|
os.path.join(sysroot, 'system32').lower()
|
|
|
|
]
|
|
|
|
if line.startswith('----- ------------'):
|
|
|
|
capture = True
|
|
|
|
if capture and line.startswith('['):
|
|
|
|
filename = line[5:pthend_idx].strip()
|
|
|
|
dirname = os.path.dirname(filename).strip()
|
|
|
|
parts = line[pthend_idx:].split()
|
|
|
|
OK = False
|
|
|
|
if dirname.startswith(os.path.join(sysroot, 'winsxs').lower()) \
|
|
|
|
or dirname.startswith(os.path.join(sys.prefix, 'lib\site-packages\gtk-2.0').lower()):
|
|
|
|
OK = True
|
2016-08-22 20:18:17 +05:30
|
|
|
|
2010-11-27 10:25:58 +05:30
|
|
|
for pth in acceptablePaths:
|
|
|
|
if dirname == pth.lower():
|
|
|
|
OK = True
|
2016-08-22 20:18:17 +05:30
|
|
|
|
2010-11-27 10:25:58 +05:30
|
|
|
if 'MSVCR90.DLL' in filename:
|
|
|
|
if parts[0] == 'Error':
|
|
|
|
runtimedlls[filename] = "Error dll not found"
|
|
|
|
else:
|
|
|
|
runtimedlls[filename] = parts[16]
|
2016-08-22 20:18:17 +05:30
|
|
|
|
2010-11-27 10:25:58 +05:30
|
|
|
if OK == False:
|
|
|
|
if parts[0] == 'Error':
|
2016-08-22 20:18:17 +05:30
|
|
|
print(" %s \tError dll not found" %( filename))
|
2010-11-27 10:25:58 +05:30
|
|
|
else:
|
2016-08-22 20:18:17 +05:30
|
|
|
print(" ERROR: %s \tVersion %s" %( filename, parts[16]))
|
2010-11-27 10:25:58 +05:30
|
|
|
for rtdll in runtimedlls:
|
|
|
|
if runtimedlls[rtdll].startswith("Error"):
|
2016-08-22 20:18:17 +05:30
|
|
|
print('\n ERROR: MS runtime %s not found'%rtdll)
|
2010-11-27 10:25:58 +05:30
|
|
|
else:
|
2016-08-22 20:18:17 +05:30
|
|
|
print('\n MS runtime Version %s loaded from' % runtimedlls[rtdll])
|
|
|
|
print(" %s" %rtdll)
|
|
|
|
print()
|
|
|
|
|
2010-11-27 10:25:58 +05:30
|
|
|
def CheckWithDependencyWalker():
|
2016-08-22 20:18:17 +05:30
|
|
|
print('\n==== Checking with Dependency Walker ====')
|
|
|
|
print(' Please be patient takes some time')
|
2010-11-27 10:25:58 +05:30
|
|
|
exe = os.path.join(scriptpath, 'depends.exe')
|
|
|
|
fout = os.path.join(scriptpath, 'depres.txt')
|
2016-08-22 20:18:17 +05:30
|
|
|
f2check = [
|
2012-06-18 02:55:37 +05:30
|
|
|
os.path.join(sys.prefix, 'Lib/site-packages/gtk-2.0/gtk/_Gtk.pyd' ),
|
|
|
|
os.path.join(sys.prefix, 'Lib/site-packages/gtk-2.0/gobject/_GObject.pyd' ),
|
2010-11-27 10:25:58 +05:30
|
|
|
os.path.join(sys.prefix, 'Lib/site-packages/gtk-2.0/pangocairo.pyd' ),
|
|
|
|
]
|
|
|
|
if os.path.isfile( exe ):
|
|
|
|
for ftest in f2check:
|
|
|
|
if os.path.isfile( ftest ):
|
|
|
|
#delete the output file before running command
|
|
|
|
try:
|
|
|
|
os.remove(fout)
|
2016-08-22 20:18:17 +05:30
|
|
|
except WindowsError as e:
|
2010-11-27 10:25:58 +05:30
|
|
|
pass
|
2016-08-22 20:18:17 +05:30
|
|
|
print(' Testing file %s' % ftest)
|
2010-11-27 10:25:58 +05:30
|
|
|
out = RunExeCommand(exe, '/c /f1 /ot "%s" "%s"' % (fout, ftest) )
|
|
|
|
if os.path.isfile(fout):
|
|
|
|
ScanDependencyFileForErrors(fout)
|
|
|
|
else:
|
2016-08-22 20:18:17 +05:30
|
|
|
print(" ERROR: file %d does not exist", ftest)
|
2010-11-27 10:25:58 +05:30
|
|
|
else:
|
2016-08-22 20:18:17 +05:30
|
|
|
print(' Cannot check with dependency walker, not installed in local directory')
|
|
|
|
print(' get dependency walker from http://www.dependencywalker.com/')
|
|
|
|
print(' and unzip into this directory for it to work.')
|
|
|
|
|
|
|
|
def CheckPathForOtherGtkInstalls():
|
|
|
|
print('\n====Checking environment path for other gtk installations====')
|
2010-11-27 10:25:58 +05:30
|
|
|
ePath = os.environ['path']
|
|
|
|
dirs = ePath.split(';')
|
|
|
|
gtkpth_idx = 9999
|
|
|
|
other_paths = []
|
|
|
|
explain_level = 0
|
|
|
|
for i, d in enumerate(dirs):
|
2016-08-22 20:18:17 +05:30
|
|
|
#print('==%s==' %d)
|
2010-11-27 10:25:58 +05:30
|
|
|
if d == gtkPathInRegistry or d == dllPathInRegistry\
|
|
|
|
or d == dllPathShort:
|
|
|
|
gtkpth_idx = i
|
|
|
|
continue
|
|
|
|
for fname in testdlls:
|
|
|
|
f = os.path.join(d, fname)
|
|
|
|
if os.path.isfile( f ):
|
2016-08-22 20:18:17 +05:30
|
|
|
#print(' Found Erronous gtk DLL %s' % f)
|
2010-11-27 10:25:58 +05:30
|
|
|
if d not in other_paths:
|
|
|
|
other_paths.append(d)
|
|
|
|
if i < gtkpth_idx: # path appears BEFORE runtime path
|
2016-08-22 20:18:17 +05:30
|
|
|
print(' ERROR: %s should not appear before runtime path' % d)
|
2010-11-27 10:25:58 +05:30
|
|
|
explain_level = 2
|
|
|
|
else:
|
2016-08-22 20:18:17 +05:30
|
|
|
print(' FOUND: %s, Probably OK as appears AFTER runtime path' % d)
|
2010-11-27 10:25:58 +05:30
|
|
|
if explain_level <= 1:
|
|
|
|
explain_level = 1
|
|
|
|
if gtkpth_idx == 9999:
|
2016-08-22 20:18:17 +05:30
|
|
|
print('\n ERROR: Runtime directory not on enviroment path')
|
|
|
|
print(" ** Runtime needs to be on path to load DLL's from\n")
|
2010-11-27 10:25:58 +05:30
|
|
|
if explain_level == 2:
|
2016-08-22 20:18:17 +05:30
|
|
|
print(explain_exposed)
|
2010-11-27 10:25:58 +05:30
|
|
|
elif explain_level == 1:
|
2016-08-22 20:18:17 +05:30
|
|
|
print(explain_safe)
|
2010-11-27 10:25:58 +05:30
|
|
|
if len(other_paths) == 0:
|
2016-08-22 20:18:17 +05:30
|
|
|
print(' No other gtk installatons found\n')
|
|
|
|
|
2010-11-27 10:25:58 +05:30
|
|
|
# ==== report what python thinks it's using =====
|
|
|
|
MIN_PYTHON_VER = (2,5,1)
|
|
|
|
UNTESTED_PYTHON_VER = (3,0,0)
|
|
|
|
|
|
|
|
MIN_GTK_VER = (2,10,11)
|
|
|
|
UNTESTED_GTK_VER = (2,16,7)
|
|
|
|
|
|
|
|
MIN_PYGTK_VER = (2,10,6)
|
|
|
|
UNTESTED_PYGTK_VER = (2,12,2)
|
|
|
|
|
|
|
|
MIN_GOBJECT_VER = (2,12,3)
|
|
|
|
UNTESTED_GOBJECT_VER = (2,14,3)
|
|
|
|
|
|
|
|
MIN_CAIRO_VER = (1,2,6)
|
|
|
|
UNTESTED_CAIRO_VER = (1,4,13)
|
|
|
|
|
|
|
|
def PrintFailedImport(appl, minVersion, result):
|
2016-08-22 20:18:17 +05:30
|
|
|
print(appl,)
|
|
|
|
print('version %d.%d.%d or above.....\t' % minVersion ,)
|
|
|
|
print(result)
|
2010-11-27 10:25:58 +05:30
|
|
|
|
|
|
|
def PrintVersionResult(appl, minVersion, actualVersion, untestedVersion):
|
2016-08-22 20:18:17 +05:30
|
|
|
print(appl,)
|
|
|
|
print('version %d.%d.%d or above.....\t' % minVersion ,)
|
|
|
|
print('found %d.%d.%d' % actualVersion ,)
|
2010-11-27 10:25:58 +05:30
|
|
|
if minVersion <= actualVersion < untestedVersion:
|
2016-08-22 20:18:17 +05:30
|
|
|
print('...OK')
|
2010-11-27 10:25:58 +05:30
|
|
|
elif actualVersion >= untestedVersion:
|
2016-08-22 20:18:17 +05:30
|
|
|
print('...UNTESTED VERSION')
|
2010-11-27 10:25:58 +05:30
|
|
|
else:
|
2016-08-22 20:18:17 +05:30
|
|
|
print('...FAILED')
|
|
|
|
|
2010-11-27 10:25:58 +05:30
|
|
|
def Import_pyGtkIntoPython():
|
2016-08-22 20:18:17 +05:30
|
|
|
print('\n==== Test import into python ====')
|
2010-11-27 10:25:58 +05:30
|
|
|
#py_str = 'found %d.%d.%d' % sys.version_info[:3]
|
|
|
|
PrintVersionResult(' Python ', MIN_PYTHON_VER, sys.version_info[:3], UNTESTED_PYTHON_VER)
|
|
|
|
|
|
|
|
# Test the GTK version
|
|
|
|
try:
|
|
|
|
import gtk
|
2016-08-22 20:18:17 +05:30
|
|
|
|
2012-06-18 02:55:37 +05:30
|
|
|
PrintVersionResult(' GTK+ ', MIN_GTK_VER, Gtk.gtk_version, UNTESTED_GTK_VER )
|
2016-08-22 20:18:17 +05:30
|
|
|
|
2010-11-27 10:25:58 +05:30
|
|
|
#test the pyGTK version (which is in the gtk namespace)
|
2012-06-18 02:55:37 +05:30
|
|
|
PrintVersionResult(' pyGTK ', MIN_PYGTK_VER, Gtk.pygtk_version, UNTESTED_PYGTK_VER )
|
2016-08-22 20:18:17 +05:30
|
|
|
|
2010-11-27 10:25:58 +05:30
|
|
|
except ImportError:
|
|
|
|
PrintFailedImport(' GTK+ ', MIN_GTK_VER, NOT_FOUND_STR)
|
|
|
|
PrintFailedImport(' pyGTK ', MIN_PYGTK_VER, 'Cannot test, ...GTK+ missing')
|
|
|
|
|
2016-08-22 20:18:17 +05:30
|
|
|
|
2010-11-27 10:25:58 +05:30
|
|
|
#test the gobject version
|
|
|
|
try:
|
|
|
|
import gobject
|
2012-06-18 02:55:37 +05:30
|
|
|
PrintVersionResult(' gobject', MIN_GOBJECT_VER, GObject.pygobject_version, UNTESTED_GOBJECT_VER)
|
2016-08-22 20:18:17 +05:30
|
|
|
|
2010-11-27 10:25:58 +05:30
|
|
|
except ImportError:
|
|
|
|
PrintFailedImport(' gobject', MIN_GOBJECT_VER, NOT_FOUND_STR)
|
|
|
|
|
|
|
|
|
|
|
|
#test the cairo version
|
|
|
|
try:
|
|
|
|
import cairo
|
|
|
|
PrintVersionResult(' cairo ', MIN_CAIRO_VER, cairo.version_info, UNTESTED_CAIRO_VER )
|
2016-08-22 20:18:17 +05:30
|
|
|
|
2010-11-27 10:25:58 +05:30
|
|
|
except ImportError:
|
|
|
|
PrintFailedImport(' cairo ', MIN_CAIRO_VER, NOT_FOUND_STR)
|
|
|
|
|
|
|
|
#test for glade
|
2016-08-22 20:18:17 +05:30
|
|
|
print('\n==== See if libglade installed ====')
|
2010-11-27 10:25:58 +05:30
|
|
|
|
|
|
|
try:
|
2012-06-18 02:55:37 +05:30
|
|
|
import Gtk.glade
|
2016-08-22 20:18:17 +05:30
|
|
|
print(' Glade tesing import of libglade .......\tOK\n')
|
|
|
|
except ImportError as e:
|
|
|
|
print(' Glade importError: %s\n' % e)
|
2010-11-27 10:25:58 +05:30
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
usage = '''Check for common problems in GTK/pyGTK installation.
|
|
|
|
Usage:
|
|
|
|
python %s [options] [gtkPath]
|
|
|
|
|
|
|
|
Arguments:
|
|
|
|
gtkPath Path to your GTK installation directory (not the bin dir)
|
2016-08-22 20:18:17 +05:30
|
|
|
|
2010-11-27 10:25:58 +05:30
|
|
|
Options:
|
|
|
|
None
|
|
|
|
''' %(os.path.basename(__file__) )
|
|
|
|
|
|
|
|
gtkPath = None
|
|
|
|
gtkPathInRegistry = NOT_FOUND_STR
|
|
|
|
gtkVersionInRegistry = NOT_FOUND_STR
|
|
|
|
dllPathInRegistry = NOT_FOUND_STR
|
|
|
|
dllPathShort = 'NoShortPath'
|
|
|
|
scriptpath = os.path.dirname(sys.argv[0])
|
|
|
|
try:
|
|
|
|
opts, args = getopt.getopt(sys.argv[1:], "",
|
|
|
|
[])
|
|
|
|
|
|
|
|
for o, a in opts:
|
|
|
|
if o in ("-h", "--help"):
|
2016-08-22 20:18:17 +05:30
|
|
|
print(usage)
|
2010-11-27 10:25:58 +05:30
|
|
|
sys.exit(0)
|
|
|
|
|
|
|
|
if len(args) > 1:
|
2016-08-22 20:18:17 +05:30
|
|
|
raise getopt.GetoptError('\nERROR: Too many arguments')
|
2010-11-27 10:25:58 +05:30
|
|
|
for arg in args:
|
|
|
|
if os.path.isdir(arg):
|
|
|
|
gtkPath = arg
|
|
|
|
else:
|
2016-08-22 20:18:17 +05:30
|
|
|
raise getopt.GetoptError('\nERROR: Not a valid GTK path %s' % arg)
|
|
|
|
|
|
|
|
except getopt.GetoptError as msg:
|
|
|
|
print(msg)
|
|
|
|
print('\n %s' % usage)
|
2010-11-27 10:25:58 +05:30
|
|
|
sys.exit(2)
|
|
|
|
|
|
|
|
import platform
|
|
|
|
winver = platform.win32_ver()
|
|
|
|
if len(winver) == 4:
|
2016-08-22 20:18:17 +05:30
|
|
|
print('''\n==== platform.win32_ver() reports ====
|
2010-11-27 10:25:58 +05:30
|
|
|
Operating System: %s
|
|
|
|
Version : %s
|
|
|
|
Service Pack : %s
|
2016-08-22 20:18:17 +05:30
|
|
|
OS type : %s''' % winver)
|
2010-11-27 10:25:58 +05:30
|
|
|
else:
|
2016-08-22 20:18:17 +05:30
|
|
|
print(winver)
|
|
|
|
|
2010-11-27 10:25:58 +05:30
|
|
|
if gtkPath:
|
|
|
|
gtkPathInRegistry = gtkPath
|
|
|
|
dllPathInRegistry = os.path.join(gtkPath, 'bin')
|
2016-08-22 20:18:17 +05:30
|
|
|
print(' Using %s as GTK install path' % gtkPathInRegistry)
|
|
|
|
print(' Using %s as GTK dll path' % dllPathInRegistry)
|
2010-11-27 10:25:58 +05:30
|
|
|
else:
|
|
|
|
CheckGtkInReg()
|
|
|
|
|
|
|
|
WorkOutShortDosPath()
|
|
|
|
FindLibsWithCtypes()
|
|
|
|
CheckPathForOtherGtkInstalls()
|
|
|
|
Import_pyGtkIntoPython()
|
2016-08-22 20:18:17 +05:30
|
|
|
|
2010-11-27 10:25:58 +05:30
|
|
|
CheckWithDependencyWalker()
|
2016-08-22 20:18:17 +05:30
|
|
|
|