-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
Description
This command works, because the shell automatically expands the star before passing it to i18ndude:
i18ndude sync --pot locales/plone.pot locales/*/LC_MESSAGES/plone.po
The same command in tox fails, because tox does not do expansion:
$ cat tox.ini
...
[testenv:locales]
basepython = python3
skip_install = true
deps =
i18ndude
commands =
i18ndude sync --pot locales/plone.pot locales/*/LC_MESSAGES/plone.po
$ tox -e locales
...
locales run-test: commands[1] | i18ndude sync --pot locales/plone.pot 'locales/*/LC_MESSAGES/plone.po'
Warning: locales/*/LC_MESSAGES/plone.po is not a file or is ignored.
When I replace the star with nl the tox command works fine for the Dutch locale.
See https://stackoverflow.com/a/62113401/621201, also for basic glob code example.
Reactions are currently unavailable