[issue8668] Packaging: add a 'develop' command

Michael Mulich report at bugs.python.org
Tue Jul 12 16:10:49 CEST 2011


Michael Mulich <michael.mulich at gmail.com> added the comment:

On Tue, Jul 12, 2011 at 9:39 AM, higery <report at bugs.python.org> wrote:
>> The develop command writes three pieces of information to the filesystem:
>>  1. It calls upon the build action(s) to build the package relative to
>> the package's root directory.
>>  2. It calls the [build|install]_distinfo action to write the
>> .dist-info metadata inside the build directory. (see also Issue 12279)
>>  3. It adds the build directory's path to a .pth file.
>>
>
> You are right, what you listed above are also the things done by the
> 'develop' command of my current implementation. In addition, as I replied
> earlier, we can also add a .distinfo-link file  more than the .pth file.

I don't like the idea of a .distinfo-link file. Would it even be
necessary if we already have a .pth entry?

We should probably just use one of these files, either .distinfo-link
or .pth. The .pth implementation has the least impact on code base and
is already implemented. If we add support for a .distinfo-link, we
would then need to modify database module to support that extension.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8668>
_______________________________________


More information about the Python-bugs-list mailing list