On Mon, Nov 26, 2012 at 3:10 AM, Chris Withers <span dir="ltr"><<a href="mailto:chris@simplistix.co.uk" target="_blank">chris@simplistix.co.uk</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
On 23/11/2012 22:11, PJ Eby wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If you're still looking for an answer, pretty much all you can do for<br>
that is: "setup.py develop easy_install pkgname[docs,testing]".  You can<br>
shorten it by defining an generic alias for "develop easy_install" in<br>
your global or user distutils .cfg, or a project-specific alias for<br>
"develop easy_install pkgname" in the project's setup.cfg.<br>
</blockquote>
<br>
This sounds like exactly what I'm after but the way you wrote your reply suggests I might be missing something...<br>
What are the snags with the above? What don't I get that I do with just a straight "setup.py develop pkgname"?<br></blockquote><div><br>You have that backwards: it's what you DO get with that, that you *don't* get with plain develop.  Doing "develop easy_install pkg[extras]" will first install the package in develop mode, then install it *again*, hopefully as a no-op due to already being on sys.path, and finally install the extras.<br>
<br>You could of course do easy_install first, *then* the develop, but that would require running setup.py twice.<br></div></div><br>