Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The key is to tell easy_install where the package can be downloaded. In this particular case, it can be found at the url <a href="http://github.com/mtai/python-gearman/tarball/master" rel="noreferrer">http://github.com/mtai/python-gearman/tarball/master</a>. However, that link by itself won't work, because easy_install can't tell just by looking at the URL what it's going to get.</p> <p>By changing it to <a href="http://github.com/mtai/python-gearman/tarball/master#egg=gearman-2.0.0beta" rel="noreferrer">http://github.com/mtai/python-gearman/tarball/master#egg=gearman-2.0.0beta</a> instead, easy_install will be able to identify the package name and its version.</p> <p>The final step is to add the URL to your package's dependency_links, e.g.:</p> <pre><code>setup( ... dependency_links = ['http://github.com/mtai/python-gearman/tarball/master#egg=gearman-2.0.0beta'] ) </code></pre> <p>Now, when YOUR package is being installed, easy_install will discover that there is a "gearman 2.0.0beta" available for download from that URL, and happily pick it over the one on PyPI, if you specify "gearman>=2.0.0beta" in your dependencies..</p> <p>(Normally, the way this sort of thing is done is to include a link on one's PyPI page to the downloadable source; in this case, if the author of the gearman package had included a link like the above, you'd be already set. Typically, people mark the development version with 'myproject-dev' and then people use a requirement of 'myproject>=somever,==dev', so that if there isn't a package of somever or higher, easy_install will try to check out or download the release.)</p> <p>You'll need to specify <code>--process-dependency-links</code> when using <code>pip</code>. Note that dependency links processing has been deprecated and will be removed in a future release.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload