<div dir="ltr"><div>A note was added [1] about the solution for module only distributions and is live on Python.org.<br></div><div><br></div><div>[1] <a href="https://github.com/python/peps/pull/468">https://github.com/python/peps/pull/468</a></div><div><br></div><div>Ethan Smith<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 14, 2017 at 1:02 AM, Sebastian Rittau <span dir="ltr"><<a href="mailto:srittau@rittau.biz" target="_blank">srittau@rittau.biz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF"><span class="">
    Am 14.11.2017 um 02:38 schrieb Guido van Rossum:<br>
    </span><blockquote type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote"><span class="">On Mon, Nov 13, 2017 at 3:50 PM,
            Sebastian Rittau <span dir="ltr"><<a href="mailto:srittau@rittau.biz" target="_blank">srittau@rittau.biz</a>></span>
            wrote:<span></span><span></span><br>
            <span></span>
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span></span></blockquote>
            <div> </div>
            </span><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>
                <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                </blockquote>
              </span>
              I am really looking forward to the implementation of this
              PEP and I am glad that it is close to acceptance. One
              thing that is not really clear to me is how module-only
              packages are handled. Say I have a package "foo" that
              installs the file "foo.py" to site-packages, where would I
              install "foo.pyi" and py.typed to? Or is this case not
              supported and I have to convert the foo module into a
              package containing just __init__.py?<span class="m_6558374931146833120HOEnZb"></span><br>
            </blockquote>
          </span></div>
        </div><span class="">
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">Good call. I think that conversion to a
          package is indeed the best approach -- it doesn't seem worth
          it to add more special-casing for this scenario.</div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">Ethan, if you agree, you should just
          add a sentence about this to the PEP.<br clear="all">
        </div>
        <br>
      </span></div>
    </blockquote>
    This seems like the best solution, especially since setuptools does
    not really support installing package data for pure modules.<span class="HOEnZb"><font color="#888888"><br>
    <br>
     - Sebastian <br>
  </font></span></div>

<br>______________________________<wbr>_________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/ethan%40ethanhs.me" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/options/python-dev/<wbr>ethan%40ethanhs.me</a><br>
<br></blockquote></div><br></div>