Hey,<br><br>On Sun, Mar 16, 2008 at 3:29 PM, Martijn Faassen &lt;<a href="mailto:faassen@startifact.com">faassen@startifact.com</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi there,<br>
<br>
Today I tried to make sure I had the latest grokproject. Unfortunately<br>
easy_install -U grokproject gets me 0.7dev, which was never released,<br>
possibly because it pulls it directly from SVN trunk?<br>
<br>
Does this mean that when people install grokproject they get grokproject<br>
0.7 immediately, including the z3c.autoinclude integration? That&#39;s not<br>
exactly the way we want to do releases, and I&#39;m not even sure that&#39;ll<br>
work with Grok 0.11.x!<br>
<br>
What can be done about this? Remove the grokproject SVN URL?</blockquote><div><br>I just tried `easy_install grokproject` in a clean environment and it ended up pulling v0.6.&nbsp; `easy_install -U grokproject` seems to do the same for me (v0.6) in both a clean environment and one with grokproject v0.6 already installed.&nbsp; So I don&#39;t think you need to be worred; it&#39;s probably just something about your particular environment.&nbsp; (For example, maybe you had a copy of the trunk checkout already lying around and easy_install found it somehow?)<br>
<br>That said, I just did a very cursory scan of how packages on PyPI use `download_url`.&nbsp; (I couldn&#39;t find any documentation about its intended meaning.)&nbsp; Most packages that I&#39;ve seen don&#39;t actually specify a download_url at all (which is too bad) but the ones that do seem to set it to the particular tag that&#39;s being released.&nbsp; That would be more accurate and also slightly safer; I&#39;ve never really understood how easy_install works but it does follow links so it&#39;s possible that your 0.7dev installation somehow came about by easy_install noticing that download_url.&nbsp; You could just automate that in setup.py before the next release --<br>
<br>{{{<br>version = 0.7<br>setup(name=&quot;grokproject&quot;,<br>&nbsp; version=version,<br>&nbsp; download_url=&quot;svn://svn.zope.org/repos/main/grokproject/tags/&quot; + version,<br>&nbsp; ...<br>)<br>}}}<br><br>and put a link to trunk somewhere in the long_description.<br>
<br>egj<br></div></div>