Anotate Sahana pip requirements exclusions

This commit is contained in:
Disassembler 2020-02-07 18:49:22 +01:00
parent e5c6203412
commit 5e7846b519
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499

View File

@ -20,10 +20,11 @@ RUN EOF
git clone --depth 1 https://github.com/sahana/eden.git /srv/web2py/applications/eden
# Install python dependencies, exclude old or unnecessary ones
sed -i 's/^ansible/#ansible/' /srv/web2py/applications/eden/optional_requirements.txt
sed -i 's/^boto/#boto/' /srv/web2py/applications/eden/optional_requirements.txt
sed -i 's/^PyRTF/#PyRTF/' /srv/web2py/applications/eden/optional_requirements.txt
sed -i 's/^PyYAML/#PyYAML/' /srv/web2py/applications/eden/optional_requirements.txt
sed -i 's/^Pillow/#Pillow/' /srv/web2py/applications/eden/optional_requirements.txt # We have 6.2.1, Sahana requires 6.2.2
sed -i 's/^ansible/#ansible/' /srv/web2py/applications/eden/optional_requirements.txt # Needed for setup
sed -i 's/^boto/#boto/' /srv/web2py/applications/eden/optional_requirements.txt # Needed for setup on AWS
sed -i 's/^PyRTF/#PyRTF/' /srv/web2py/applications/eden/optional_requirements.txt # Ceased to exist
sed -i 's/^PyYAML/#PyYAML/' /srv/web2py/applications/eden/optional_requirements.txt # Needed for setup
pip3 install -r /srv/web2py/applications/eden/optional_requirements.txt
# Copy fonts with Czech glyphs