Hashar has uploaded a new change for review.

Change subject: console script now uses the new 'cli' entry point
......................................................................

console script now uses the new 'cli' entry point

sartoris 'main' entry points require an argument which is not possible
using setuptools.  I am defining a new entry point named 'cli' which
takes no argument and in turn call 'main' with the system arguments.

The 'main' entry point is left unchanged and still require argument to
be passed to it.

Test plan:

        $ sudo python setup.py develop
        $ sartoris
        usage: sartoris [-q --quiet] [-s --silent] [-v --verbose] [method]
        sartoris: error: too few arguments
        $

Change-Id: Ia805543d6e3718f253caa0f1c1f815bb0a085724
---
M sartoris/__init__.py
M sartoris/sartoris.py
M setup.py
3 files changed, 7 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/sartoris refs/changes/64/46464/1
--
To view, visit https://gerrit.wikimedia.org/r/46464
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia805543d6e3718f253caa0f1c1f815bb0a085724
Gerrit-PatchSet: 1
Gerrit-Project: sartoris
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to