On Tuesday, October 28, 2014 10:41:06 AM UTC-5, Terry Brown wrote:

Ok, I just pushed this fairly simplistic change: 
>
> +if not os.environ.get('_', '').endswith('pip'): 
> +    print( 
> +        "setup.py is only used for `pip` installs, please see:\n" + 
> +        "http://leoeditor.com/installing.html"; 
> +    ) 
> +    sys.exit() 
>

To summarize, I have just closed the corresponding bug, #81
https://github.com/leo-editor/leo-editor/issues/81

The new setup.py (with import sys) seems reasonable.

Please reopen only if serious problems are found with the present code.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to