~ubuntu-branches/ubuntu/trusty/gnome-python/trusty

« back to all changes in this revision

Viewing changes to wscript

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-09-22 09:10:42 UTC
  • mto: (3.2.1 sid) (62.1.1 sid)
  • mto: This revision was merged to the branch mainline in revision 44.
  • Revision ID: james.westby@ubuntu.com-20080922091042-dc4xw47pwwd685h5
Tags: upstream-2.22.2
ImportĀ upstreamĀ versionĀ 2.22.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
import Params
4
4
Params.g_autoconfig = True
5
5
 
6
 
VERSION = '2.22.1'
 
6
VERSION = '2.22.2'
7
7
APPNAME = 'gnome-python'
8
8
srcdir = '.'
9
9
blddir = 'build'
56
56
                            pkgvars=['defsdir'], mandatory=True)
57
57
    conf.env['PYGTK_DEFSDIR'] = values['PYGTK_DEFSDIR']
58
58
 
 
59
    if not conf.find_program('pygobject-codegen-2.0', var='CODEGEN'):
 
60
        if not conf.find_program('pygtk-codegen-2.0', var='CODEGEN'):
 
61
            Params.fatal("Could not find pygobject/pygtk codegen")
 
62
 
59
63
    conf.env.append_value('CCDEFINES', 'HAVE_CONFIG_H')
60
64
 
61
65
    conf.env['ENABLE_MODULES'] = Params.g_options.enable_modules.split(',')