installation instructions fail to pull oauth code

Asked by Blaine Simpson

I am trying to install launchpadlib according to your instructions at https://help.launchpad.net/API/launchpadlib .

I am not running Ubuntu. I see that this is a subproject of Ubuntu, but Questions for the launchpad project redirects to here (where I am surprised to find only one other question). Since the only instructions for non-Ubuntu users is to build trunk, I followed those instructions (though I would rather use the last stable like you support for Ubuntu developers).

Every other project dependency code pull succeeded, but the oauth pull did not. Note that the command is exactly what is in your instructions:

    beyla$ bzr branch lp:oauth
    bzr: ERROR: Not a branch: "bzr+ssh://bazaar.launchpad.net/%2Bbranch/oauth/".
    beyla$

The problem can not be with my bzr setup or Internet connectivity, since I have successfully pulled the code of the other 4 projects.

I checked the oauth project and it looks like it should have a repository mirroring the external svn repository. I resorted to pulling directly from the canonical python auth project:

    svn co http://oauth.googlecode.com/svn/code oauth

Should that suffice?

POSTNOTE:
Proceeding with oauth from trunk/python (and chmodding the scripts since the repository artifacts don't have the right permissions), the setup.py from lazr.uri fails:

    beyla# ./*py install
    ./bootstrap.py: line 21: Bootstrap a buildout-based project

    Simply run this script in a directory containing a buildout.cfg.
    The script accepts buildout command-line options, so you can
    use the -c option to specify an alternate configuration file.

    $
    : command not found

Question information

Language:
English Edit question
Status:
Solved
For:
launchpadlib Edit question
Assignee:
No assignee Edit question
Solved by:
Blaine Simpson
Solved:
Last query:
Last reply:
Revision history for this message
Martin Pool (mbp) said :
#1

Install oauth direct from svn is fine.

Why on earth are you running "./*py"?

You should be able to install from the latest tarball. What OS are you using?

Revision history for this message
Blaine Simpson (blaine-simpson) said :
#2

> Install oauth direct from svn is fine.

Great.

> Why on earth are you running "./*py"?

Thanks very much Martin. Needed another set of eyeballs. My idiocy and I apologize. I somehow missed the existence of other files matching *.py (must have looked at the output of the wrong "ls").

That did the trick. I completed the procedure according to docs.

> You should be able to install from the latest tarball. What OS are you using?

I'm on OpenSUSE. I didn't want to vary too far from the documented "Install" instructions at https://help.launchpad.net/API/launchpadlib , but it's good to know that the tar option should work. That will probably come in handy. Maybe somebody should add that alternative to the https://help.launchpad.net/API/launchpadlib page.