Hi,

On Friday 08 August 2014 05:41 PM, Stephen J. Turnbull wrote:

I still don't understand this.  You have a module whose "main
function" would perfectly servicable as "the executable" if you unwrap
it (delete the "def main" statement and fix indentation), and in fact
doesn't serve any purpose other than to be imported into a generated
script?  Seems to violate TOOWDTI to me.



Fixed that. There was another argument for setuptools called `scripts` which does the
required task, that is, does not require the executable to have a callable.
_______________________________________________
Mailman-Developers mailing list
[email protected]
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Reply via email to