Some cloud providers like Alibaba cloud uses default pypi and easy_install mirror set to aliyum on booting up the ECS instance.
However, the deployment will fail, since for easy_install, from .pydistutils.cfg, the virtualenv is not properly made (without any bin folder, activate script etc.)
Also, the .pip/pip.conf ensures that the global url for pypi mirror for fetching packages from requirements is actual python.org server for reasons mentioned above.
Apart from these changes, I've added a compilemessages command, so that the static messages are translated on every deployment if available.
Some cloud providers like Alibaba cloud uses default pypi and easy_install mirror set to aliyum on booting up the ECS instance.
However, the deployment will fail, since for
easy_install
, from.pydistutils.cfg
, thevirtualenv
is not properly made (without anybin
folder,activate
script etc.)Also, the
.pip/pip.conf
ensures that the global url for pypi mirror for fetching packages from requirements is actual python.org server for reasons mentioned above.Apart from these changes, I've added a
compilemessages
command, so that the static messages are translated on every deployment if available.Reasons mentioned above.
None.