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.

Just keep in mind that having a top-level __main__, if you install two such
packages, one __main__ will clobber the other.

On Fri, Jun 19, 2015 at 12:51 PM Dimitri Maziuk <[email protected]>
wrote:

> On 06/19/2015 10:44 AM, Daniel Holth wrote:
> > Did you try py_modules=["__main__"] in setup.py
>
> No, of course not: there is no py_modules (or "py_" - anything) anywhere
> in the developer's guide webpage so how would I know to try it?
>
> That is exactly what I was looking for.
>
> Thank you.
> --
> Dimitri Maziuk
> Programmer/sysadmin
> BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
>
>
_______________________________________________
Distutils-SIG maillist  -  [email protected]
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to