On 3 December 2013 08:41, Michael Jansen <[email protected]> wrote:
> So another idea i am thinking about is doing it like this:
>
>
>
> scripts = [
>
> "bin/myscript3", # <= backwardscompatible
>
> ( 'bin/', [ 'bin/myscript1', 'bin/myscript2' ] ),
>
> ( 'sbin/', [ 'sbin/mysbinscript1', 'sbin/mysbinscript2' ] ),
>
> ( 'lib/myproject/libexec', [ 'libexec/script' ] )
>
> ]

The "scripts" argument is generally considered obsolete - tools like
pip will not generate executable wrappers for scripts specified like
this, which means that they will not work properly on Windows.

You should really be using (in this case, extending) the setuptools
"console_scripts" entry point.

Paul
_______________________________________________
Distutils-SIG maillist  -  [email protected]
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to