[Distutils] Issue with (latest?) buildout and package name containing underscore

Jim Fulton jim at jimfulton.info
Fri Feb 24 08:13:24 EST 2017


On Fri, Feb 24, 2017 at 6:59 AM, Paul Moore <p.f.moore at gmail.com> wrote:

> On 24 February 2017 at 11:54, Lele Gaifax <lele at metapensiero.it> wrote:
> > Paul Moore <p.f.moore at gmail.com> writes:
> >
> >> On 24 February 2017 at 11:37, Lele Gaifax <lele at metapensiero.it> wrote:
> >>> Can anyone shed some light on the problem? By what logic buildout used
> a
> >>> different name for that particular package?
> >>
> >> While I don't know anything about buildout, pyramid-tm is the
> >> normalised version of pyramid_tm - see
> >> https://www.python.org/dev/peps/pep-0503/#normalized-names
> >
> > Oh, I see, thank you. Does that mean that the right thing I should do is
> > always using such normalized names in my requirements.txt/versions.cfg?
>
> I *think* it shouldn't matter. The problem will likely be with older
> tools not normalising. So using normalised names throughout might help
> such tools.
>

Thanks Paul.  Yes, this is a buildout bug:

https://github.com/buildout/buildout/issues/317

This case shed the light on the bug for me. Thanks.

Jim

-- 
Jim Fulton
http://jimfulton.info
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20170224/52b06c64/attachment.html>


More information about the Distutils-SIG mailing list