github/workflows: use a virtualenv for setuptools
commit92815e29d03517ad3eef2c15cc20ebc2dbb94a83
authorDavid Aguilar <davvid@gmail.com>
Mon, 7 Mar 2022 21:50:51 +0000 (7 13:50 -0800)
committerDavid Aguilar <davvid@gmail.com>
Tue, 8 Mar 2022 22:06:51 +0000 (8 14:06 -0800)
treeb35c683344bf8e82a9f63a56edc71b5dbabe0688
parentc2d4f8358475adb2e1eea33fc531cd50d7a4acfa
github/workflows: use a virtualenv for setuptools

We need to "python setup.py develop" so that setuptools uses
our distutils.commands entry points.

The setuptools in Ubuntu 20.04 is too old. Activate a newer
one using a Python virtualenv.

Set SETUPTOOLS_USE_DISTUTILS=stdlib to prevent problems with the newer
setuptools built-in distutils setup in ubuntu-latest.

TODO: can we remove build_mo and build_pot from the setup process?

Signed-off-by: David Aguilar <davvid@gmail.com>
.github/workflows/main.yml
Makefile
requirements/requirements-dev.txt