~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/build_mo.py

  • Committer: Samuel Bronson
  • Date: 2012-08-30 20:36:18 UTC
  • mto: (6015.57.3 2.4)
  • mto: This revision was merged to the branch mainline in revision 6558.
  • Revision ID: naesten@gmail.com-20120830203618-y2dzw91nqpvpgxvx
Update INSTALL for switch to Python 2.6 and up.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# -*- coding: utf-8 -*-
2
2
#
3
 
# Copyright (C) 2007,2009,2011 Canonical Ltd.
 
3
# Copyright (C) 2007 Lukáš Lalinský <lalinsky@gmail.com>
 
4
# Copyright (C) 2007,2009 Alexander Belchenko <bialix@ukr.net>
 
5
# Copyright 2011 Canonical Ltd.
4
6
#
5
 
# This program is free software; you can redistribute it and/or modify
6
 
# it under the terms of the GNU General Public License as published by
7
 
# the Free Software Foundation; either version 2 of the License, or
8
 
# (at your option) any later version.
 
7
# This program is free software; you can redistribute it and/or
 
8
# modify it under the terms of the GNU General Public License
 
9
# as published by the Free Software Foundation; either version 2
 
10
# of the License, or (at your option) any later version.
9
11
#
10
12
# This program is distributed in the hope that it will be useful,
11
13
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
16
#
15
17
# You should have received a copy of the GNU General Public License
16
18
# along with this program; if not, write to the Free Software
17
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
19
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18
20
 
19
 
# This code is from bzr-explorer and modified for bzr.
 
21
# This code is bring from bzr-explorer and modified for bzr.
20
22
 
21
23
"""build_mo command for setup.py"""
22
24
 
23
 
from __future__ import absolute_import
24
 
 
25
25
from distutils import log
26
26
from distutils.core import Command
27
27
from distutils.dep_util import newer