Merge lp:~mikemc/ubuntuone-windows-installer/fix-1032292 into lp:ubuntuone-windows-installer

Proposed by Mike McCracken on 2012-08-02
Status: Merged
Approved by: Mike McCracken on 2012-08-07
Approved revision: 130
Merged at revision: 130
Proposed branch: lp:~mikemc/ubuntuone-windows-installer/fix-1032292
Merge into: lp:ubuntuone-windows-installer
Prerequisite: lp:~mikemc/ubuntuone-windows-installer/fix-1032290
Diff against target: 21 lines (+11/-0)
1 file modified
scripts/setup-mac.py (+11/-0)
To merge this branch: bzr merge lp:~mikemc/ubuntuone-windows-installer/fix-1032292
Reviewer Review Type Date Requested Status
Roberto Alsina (community) 2012-08-02 Approve on 2012-08-02
Review via email: mp+117965@code.launchpad.net

Commit Message

- Package ubuntuone/fseventsd.py correctly (LP: #1032292)

Description of the Change

- Package ubuntuone/fseventsd.py correctly (LP: #1032292)

To test, run python setup.py prepare py2app and check that ubuntuone/fseventsd.py is in dist/ubuntuone-control-panel-qt/UbuntuOne.app/Contents/Resources/lib/python2.7/site-packages.zip

May I suggest:
% zipinfo -1 dist/ubuntuone-control-panel-qt/UbuntuOne.app/Contents/Resources/lib/python2.7/site-packages.zip | grep fseventsd

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'scripts/setup-mac.py'
2--- scripts/setup-mac.py 2012-08-02 18:29:21 +0000
3+++ scripts/setup-mac.py 2012-08-02 18:29:21 +0000
4@@ -425,6 +425,17 @@
5 with open(os.path.join("data", "logging.conf"), "wb") as logconf:
6 logconf.write(data)
7
8+ # Install fsevents_daemon client code: required because it is
9+ # a subpackage of ubuntuone, which all needs to be in the same
10+ # place for py2app to copy it
11+ shutil.copyfile(os.path.join(self.source_dir,
12+ "ubuntuone-fsevents-daemon",
13+ "python",
14+ "ubuntuone",
15+ "fseventsd.py"),
16+ os.path.join(dest_dir, "ubuntuone",
17+ "fseventsd.py"))
18+
19 # clear path_importer_cache to make sure that a following
20 # py2app step can see the newly-copied
21 # INSTALL_PATH/lib/site-packages/ubuntu_sso module without

Subscribers

People subscribed via source and target branches