<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jan 17, 2014 at 11:12 AM, Daniel Holth <span dir="ltr"><<a href="mailto:dholth@gmail.com" target="_blank">dholth@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">On Fri, Jan 17, 2014 at 1:45 PM, Hannes Schmidt <<a href="mailto:hannes@ucsc.edu">hannes@ucsc.edu</a>> wrote:<br>

> Thank you for your suggestions, Donald. They are both feasible but they feel<br>
> like workarounds to me.<br>
><br>
> Manually listing transitive dependencies seems like a step backwards to me.<br>
> Isn't the whole point of setuptools/distutils that each component manages<br>
> its own list of dependencies? How will this scale to dozens of transitive<br>
> dependencies and busy development teams where dependencies are revved<br>
> frequently. I really liked what Maven did for Java and therefore liked what<br>
> pip is trying to do for Python.<br>
><br>
> I haven't used --find-links yet so I may be wrong but tarring up packages<br>
> and serving them by a web server is additional work that I'd rather avoid.<br>
> It just creates yet another copy of the package and requires maintaining an<br>
> additional server component.<br>
><br>
> I loved the fact that I could point pip directly at my source repos for both<br>
> my top-level projects as well as their dependencies. That seemed like a<br>
> perfect fit for an interpreted language like Python where packages are<br>
> distributed in source form. Removing dependency_links makes that feature<br>
> useless to me because it doesn't extend to dependencies, only top level<br>
> components.<br>
<br>
</div>IIUC a dependency link is the same as passing --find-links=x for that<br>
URL. I understand this doesn't exactly solve your problem.<br></blockquote><div><br></div><div>I don't know. How do I translate </div><div><br></div><div>pip install hg+ssh://<a href="http://hg@bitbucket.org/cghub/cghub-cloud-agent@default">hg@bitbucket.org/cghub/cghub-cloud-agent@default</a></div>
<div><br></div><div>with cghub-cloud-agent's setup.py being</div><div><br></div><div><div>setup(</div><div>    name="cghub-cloud-agent",</div><div>    version="1.0.dev1",</div><div>    install_requires=[<br>
</div><div>        'cghub-cloud-lib>=1.0.dev1',</div><div>        'cghub-python-lib>=1.4.dev1', ...</div><div>    ],<br></div><div>    dependency_links=[</div><div>        'hg+ssh://<a href="http://hg@bitbucket.org/cghub/cghub-python-lib@default#egg=cghub-python-lib-1.4.dev1">hg@bitbucket.org/cghub/cghub-python-lib@default#egg=cghub-python-lib-1.4.dev1</a>',</div>
<div>        'hg+ssh://<a href="http://hg@bitbucket.org/cghub/cghub-cloud-lib@default#egg=cghub-cloud-lib-1.0.dev1">hg@bitbucket.org/cghub/cghub-cloud-lib@default#egg=cghub-cloud-lib-1.0.dev1</a>'</div><div>    ],</div>
<div>)<br></div></div><div><br></div><div>into a use of --find-links?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<br>
Your internal projects are in private bitbucket repositories?<br></blockquote><div><br></div><div>Yep</div></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Hannes Schmidt<br>Software Application Developer<br>
Data Migration Engineer<br>Cancer Genomics Hub<br>University of California, Santa Cruz<br><br>(206) 696-2316 (cell)<br><a href="mailto:hannes@ucsc.edu" target="_blank">hannes@ucsc.edu</a></div>
</div></div>