distutils2 and the "develop" command

16 views
Skip to first unread message

kristian kvilekval

unread,
Mar 13, 2012, 8:39:24 PM3/13/12
to the-fellowship-...@googlegroups.com
There are several references around the web saying this will be part of distutils2.
Our developers depend on it.. Is this going to be in a release soon?

Thanks,
K

Éric Araujo

unread,
Mar 13, 2012, 9:57:41 PM3/13/12
to the-fellowship-...@googlegroups.com
Hi,

Le 14/03/2012 01:39, kristian kvilekval a écrit :
> There are several references around the web saying this
> will be part of distutils2.

This is correct. I mentored the student who worked on this for the
Google Summer of Code 2012; the code is mostly ready, but due to other
commitments I haven’t yet finished it.

> Our developers depend on it.. Is this going to be in a
> release soon?

The fourth alpha was released yesterday to let people at PyCon try out
distutils2; more alphas should follow regularly, so develop will
probably be included in a released version in March or April. You can
follow http://bugs.python.org/issue8668 to track the progress of this
feature.

BTW, I’d be interested to know how you’re using develop (you said you
“depend on it”, so I assume you’re using it in a way that you can’t
emulate with pth files or PYTHONPATH).

Cheers

Alex Grönholm

unread,
Mar 13, 2012, 10:33:25 PM3/13/12
to the-fellowship-...@googlegroups.com
Would "pip install -e ." work for you?

qwcode

unread,
Mar 13, 2012, 11:15:41 PM3/13/12
to The fellowship of the packaging
> BTW, I’d be interested to know how you’re using develop (you said you
> “depend on it”, so I assume you’re using it in a way that you can’t
> emulate with pth files or PYTHONPATH).

how would you emulate this scenario
http://qwcode.blogspot.com/2012/01/multilpe-projects-in-develop-mode.html

if you want to "develop" install a pkg that has dependencies, and the
dependencies to be installed normal,
Is there an easy emulation for that w/o basically just rewriting it?

qwcode

unread,
Mar 13, 2012, 10:50:42 PM3/13/12
to The fellowship of the packaging

> Would "pip install -e ." work for you?

well, currently "pip -e" just calls "setup.py develop"
https://github.com/pypa/pip/blob/develop/pip/req.py#L624


Alex Grönholm

unread,
Mar 14, 2012, 1:01:36 AM3/14/12
to the-fellowship-...@googlegroups.com
I see. In that case I concur, the develop command is an absolute must.

Éric Araujo

unread,
Mar 21, 2012, 10:50:19 PM3/21/12
to the-fellowship-...@googlegroups.com

Ah, obviously! Thanks for replying. So PYTHONPATH works for some
limited cases, but develop will have these advantages:

- permanent
- install dependencies
- creates the dist-info directory
- more?

Reply all
Reply to author
Forward
0 new messages