Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6078117
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:47:50+00:00 2026-05-23T10:47:50+00:00

Any solid examples of using buildout to download a tarball from a specific branch

  • 0

Any solid examples of using buildout to download a tarball from a specific branch in Git into my eggs directory?

All the answers i’ve tried seem to keep grabbing the version from PyPi instead.

I’m trying to grab the development branch of MongoKit… ( http://github.com/namlook/mongokit/tarball/devel#egg=mongokit) as a tarball…

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T10:47:51+00:00Added an answer on May 23, 2026 at 10:47 am

    You can add any python package hosted on git-hub by adding a find-links url pointing to the project tarball URL plus a #egg=packagename postfix. As you already discovered, for mongokit that is:

    http://github.com/namlook/mongokit/tarball/devel#egg=mongokit
    

    You can add a version number to that URL to provide buildout with a reason to prefer the github URL over the one found on PyPI. This is needed when the version numbers match, as is the case for mongokit at the time of answering. The version is appended with a dash:

    http://github.com/namlook/mongokit/tarball/devel#egg=mongokit-0.6yourmarker1
    

    I’ve added a marker to the version number and a counter; the addition of the marker means that the github version will be deemed newer than the version found on PyPI, but if 0.7 was released, it would be the newer one. You can make yourmarker anything you like, and you can upgrade the number if you needed to get the latest changes from github (the egg will be cached locally otherwise).

    I’d also pin that version in the buildout.

    So a simple buildout would be:

    [buildout]
    parts = whatever
    find-links =
        http://github.com/namlook/mongokit/tarball/devel#egg=mongokit-0.6yourmarker1
    eggs = mongokit
    versions = versions
    
    [versions]
    mongokit = 0.6yourmarker1
    

    From there on out you can use mongokit as a setuptools dependency (install_requires=['mongokit']).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Any ideas what I am doing wrong??? INSERT INTO LondonFixes ('id', 'Metal', 'AmPm', 'GBP',
Recently I've read, and implemented 80% of examples from Pro ASP.NET MVC Framework ,
I do an exercise to write an image gallery w/o using any libraries or
I can't seem to find any solid code on this at the moment, but
I am looking for any resources that gives examples of Best Practices, Design patterns
I' try to drawing canvas using example2 taken from http://dev.opera.com/articles/view/html5-canvas-painting/ . It works on
using firebug console in firefox for example when execute this script $(body).css(border,4px solid red);
(I'm using PySide, but I think the answer would be the same/similar for any
I am using watir-webdriver, I am trying to select one box from the HTML
Any way to realize emacs keybind on Qt Creator (QTC)? Some possibilities: emacskeys but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.