[Distutils] Issue with (latest?) buildout and package name containing underscore
Paul Moore
p.f.moore at gmail.com
Fri Feb 24 06:59:44 EST 2017
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.
Paul
More information about the Distutils-SIG
mailing list