<div dir="ltr">Sorry. The forgettable py_modules parameter is one reason why distutils is terrible and we should stop using it. No we don't have a general replacement to recommend yet.<div><br></div><div><div><div>Just keep in mind that having a top-level __main__, if you install two such packages, one __main__ will clobber the other.</div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Jun 19, 2015 at 12:51 PM Dimitri Maziuk <<a href="mailto:dmaziuk@bmrb.wisc.edu">dmaziuk@bmrb.wisc.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 06/19/2015 10:44 AM, Daniel Holth wrote:<br>
> Did you try py_modules=["__main__"] in setup.py<br>
<br>
No, of course not: there is no py_modules (or "py_" - anything) anywhere<br>
in the developer's guide webpage so how would I know to try it?<br>
<br>
That is exactly what I was looking for.<br>
<br>
Thank you.<br>
--<br>
Dimitri Maziuk<br>
Programmer/sysadmin<br>
BioMagResBank, UW-Madison -- <a href="http://www.bmrb.wisc.edu" rel="noreferrer" target="_blank">http://www.bmrb.wisc.edu</a><br>
<br>
</blockquote></div>