Closed jedie closed 5 years ago
The compiled messages file (.mo
) file should be there to have translations working. With python setup.py develop
or pip install -e
you are also installing the package so that's why it is probably there.
I'd say that gettext should be installed instead of changing this behavior.
On the other hand: this is something you would do manually while developing and when you want to release a package. I'll be cleaning up setup.py soon so I'll take this in account.
merged your commit 69299d3ae400f8c2de6360945a591ab44ae9666c in master
on "pip install -e" i get this (in my docker container):
Think the setup.py should not call "compilemessages" if
'develop' in sys.argv
only if'sdist' in sys.argv
See: https://github.com/wearehoods/django-oscar-docdata/commit/3f9d40b484992ef6d956b3867cd20f6704e3e0a9