Contribution from Steve George <steve_geo@optusnet.com.au>: Improvements to Windows install scripts.
svn: r11199
This commit is contained in:
@ -1,3 +1,23 @@
|
||||
#
|
||||
# Gramps - a GTK+/GNOME based genealogy program
|
||||
#
|
||||
# Copyright (C) 2008 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
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
# $Id: $
|
||||
import sys
|
||||
|
||||
fn = sys.argv[1]
|
||||
@ -18,7 +38,7 @@ except ImportError:
|
||||
f.write('pygtkver=no\n')
|
||||
|
||||
try:
|
||||
from gtk import glade
|
||||
import gtk.glade
|
||||
f.write('glade=yes\n')
|
||||
except ImportError:
|
||||
f.write('glade=no\n')
|
||||
@ -26,8 +46,10 @@ except ImportError:
|
||||
try:
|
||||
import cairo
|
||||
f.write('pycairo=yes\n')
|
||||
f.write('pycairover=%s\n' % cairo.version_info)
|
||||
#f.write('pycairover=%s\n' % cairo.version_info)
|
||||
f.write('pycairover=%s\n' % str(cairo.version_info) )
|
||||
except ImportError:
|
||||
f.write('pycairo=no\n')
|
||||
f.write('pycairover=no\n')
|
||||
f.close()
|
||||
|
||||
|
Reference in New Issue
Block a user