[Buildbot] #3544: replace setuptools' "scripts" with setuptools' entry_points "console_scripts"

Buildbot trac trac at buildbot.net
Fri Apr 29 21:57:07 UTC 2016


#3544: replace setuptools' "scripts" with setuptools' entry_points
"console_scripts"
----------------------+-----------------------
Reporter:  rutsky     |      Owner:
    Type:  undecided  |     Status:  new
Priority:  major      |  Milestone:  undecided
 Version:  master     |   Keywords:
----------------------+-----------------------
 See http://python-packaging.readthedocs.io/en/latest/command-line-
 scripts.html for details and
 https://github.com/buildbot/buildbot/pull/2176 for discussion.

 `console_scripts` is portable way of creating command line scripts which
 should seamlessly work on POSIX and Windows (this is true for at least
 Python 3).
 It will allow to remove `buildbot.bat` and `buildbot-worker.bat`
 workarounds.

 Few things that need to be checked:

 1. `console_scripts` works on Python 2.6,

 2. `console_scripts` works on Windows,

 3. `console_scripts` works in bare Python and in `virtualenv`.

--
Ticket URL: <http://trac.buildbot.net/ticket/3544>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list