Merge lp:~jameinel/launchpadlib/win32 into lp:~launchpad-pqm/launchpadlib/devel

Proposed by John A Meinel
Status: Superseded
Proposed branch: lp:~jameinel/launchpadlib/win32
Merge into: lp:~launchpad-pqm/launchpadlib/devel
Diff against target: None lines
To merge this branch: bzr merge lp:~jameinel/launchpadlib/win32
Reviewer Review Type Date Requested Status
launchpadlib developers Pending
Review via email: mp+8459@code.launchpad.net

This proposal has been superseded by a proposal from 2009-07-09.

To post a comment you must log in.
Revision history for this message
John A Meinel (jameinel) wrote :

This gets rid of the "bootstrap.py" symlink in favor of a trivial python file that just thunks over to _bootstrap/bootstrap.py

With this patch, I can check out the code on windows, and "py setup.py install" downloads a bunch of stuff and completes successfully.

I don't know if the code is usable yet, but it at least *installs*.

lp:~jameinel/launchpadlib/win32 updated
44. By John A Meinel

Handle another failure condition on win32.

It seems that 'mkdtemp()' will return a Unicode string on windows,
and launchpadlib was only trapping plain 'str' objects to turn them
into MultipleRepresentationCache objects.

Unmerged revisions

44. By John A Meinel

Handle another failure condition on win32.

It seems that 'mkdtemp()' will return a Unicode string on windows,
and launchpadlib was only trapping plain 'str' objects to turn them
into MultipleRepresentationCache objects.

43. By John A Meinel

Get rid of subprocess in favor of updating sys.path and just doing 'import'

42. By John A Meinel

Remove the symlink and replace it with a trivial subprocess invocation.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'bootstrap.py'
2--- bootstrap.py 1970-01-01 00:00:00 +0000
3+++ bootstrap.py 2009-07-09 14:02:54 +0000
4@@ -0,0 +1,7 @@
5+#!/usr/bin/env python
6+"""A trivial thunk to call the real bootstrap without needing a symlink."""
7+import os
8+import sys
9+
10+sys.path.insert(0, os.path.join(os.path.dirname(__file__), '_bootstrap'))
11+import bootstrap
12
13=== removed symlink 'bootstrap.py'
14=== target was '_bootstrap/bootstrap.py'

Subscribers

People subscribed via source and target branches