Opened 3 years ago

#3544 new undecided

replace setuptools' "scripts" with setuptools' entry_points "console_scripts"

Reported by: rutsky Owned by:
Priority: major Milestone: undecided
Version: master Keywords:
Cc:

Description

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,
  1. console_scripts works on Windows,
  1. console_scripts works in bare Python and in virtualenv.

Change History (0)

Note: See TracTickets for help on using tickets.