Closed woutervh closed 7 years ago
in setup.py, they can co-exist scripts=[ 'scripts/bots-webserver.py', 'scripts/bots-engine.py', 'scripts/bots-grammarcheck.py', 'scripts/bots-xml2botsgrammar.py', 'scripts/bots-updatedb.py', 'scripts/bots-dirmonitor.py', 'scripts/bots-jobqueueserver.py', 'scripts/bots-plugoutindex.py', 'scripts/bots-job2queue.py', ],
entry_points={ 'console_scripts': [ 'bots-dirmonitor = bots.dirmonitor:start', 'bots-engine = bots.engine:start', 'bots-engine2 = bots.engine:start', 'bots-grammarcheck = bots.grammarcheck:start', 'bots-job2queue = bots.job2queue:start', 'bots-jobqueueserver = bots.jobqueueserver:start', 'bots-plugoutindex = bots.plugoutindex:start', 'bots-updatedb = bots.updatedb:start', 'bots-webserver = bots.webserver:start', 'bots-xml2botsgrammar = bots.xml2botsgrammar:start', ] },
2 different commands
bots-dirmonitor.py (script) bots-dirmonitor (entrypoint, no .py-extenstion)
done in https://github.com/bots-edi/bots/commit/e092c6374738c6f12198eea03b73f92c505967a4
in setup.py, they can co-exist scripts=[ 'scripts/bots-webserver.py', 'scripts/bots-engine.py', 'scripts/bots-grammarcheck.py', 'scripts/bots-xml2botsgrammar.py', 'scripts/bots-updatedb.py', 'scripts/bots-dirmonitor.py', 'scripts/bots-jobqueueserver.py', 'scripts/bots-plugoutindex.py', 'scripts/bots-job2queue.py', ],
2 different commands