I have a Continuous Integration that works with Gitlab. When I deploy, it installs everything in my requirements.txt file with pip. However, when it gets to installing a package named cffi, it throws the error:
Downloading/unpacking cffi==1.10.0 (from -r requirements.txt (line 11)) Cleaning up...
setuptools must be installed to install from a source distribution
I am lost here. Tried adding "setuptools" to requirements.txt and adding a line that explicitly installs it, but it doesn't work.
gitlab.ci looks like this:
script: - "cp tests/test_settings.py app/local_settings.py" - "source /home/ci/misuper-venv/bin/activate" - pip install setuptools - "pip install -r requirements.txt" - "python manage.py migrate --noinput" I'm completely lost here. Please help.