Merge lp:~ralsina/ubuntu-sso-client/make-install-work into lp:ubuntu-sso-client

Proposed by Roberto Alsina
Status: Merged
Approved by: Roberto Alsina
Approved revision: 754
Merged at revision: 751
Proposed branch: lp:~ralsina/ubuntu-sso-client/make-install-work
Merge into: lp:ubuntu-sso-client
Diff against target: 35 lines (+18/-0)
1 file modified
setup.py (+18/-0)
To merge this branch: bzr merge lp:~ralsina/ubuntu-sso-client/make-install-work
Reviewer Review Type Date Requested Status
Diego Sarmentero (community) Approve
Review via email: mp+70180@code.launchpad.net

Commit message

Add a dummy build_i18n command on windows.

Description of the change

Add a dummy build_i18n command on windows.

To post a comment you must log in.
753. By Roberto Alsina

style fix

754. By Roberto Alsina

oops

Revision history for this message
Diego Sarmentero (diegosarmentero) wrote :

+1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'setup.py'
2--- setup.py 2011-07-25 14:45:33 +0000
3+++ setup.py 2011-08-02 16:02:38 +0000
4@@ -22,6 +22,7 @@
5
6 # pylint: disable=W0404, W0511
7
8+import distutils
9 import os
10 import sys
11
12@@ -308,6 +309,23 @@
13 }
14
15
16+class dummy_build_i18n(distutils.cmd.Command):
17+
18+ """Dummy for windows."""
19+
20+ def initialize_options(self, *args):
21+ """Dummy."""
22+
23+ def finalize_options(self, *args):
24+ """Dummy."""
25+
26+ def run(self, *args):
27+ """Dummy."""
28+
29+if sys.platform == 'win32':
30+ cmdclass['build_i18n'] = dummy_build_i18n
31+
32+
33 def setup_windows():
34 """Provide the required info to setup the project on windows."""
35 set_py2exe_paths()

Subscribers

People subscribed via source and target branches