mysociety / yournextrepresentative

A website for crowd-sourcing structured election candidate data
https://candidates.democracyclub.org.uk/
GNU Affero General Public License v3.0
56 stars 21 forks source link

vagrant / install script: make sure libjpeg-dev, libpng12-dev etc. (pillow deps) are installed #832

Closed mhl closed 8 years ago

mhl commented 8 years ago

... or you won't be able to upload those image types to your Vagrant install.

mhl commented 8 years ago

Actually, libjpeg-dev is already present:

https://github.com/mysociety/yournextrepresentative/blob/2916a7c9c3b3d46b609b35fca7bb53bcbdb68f46/conf/provision.sh

... but libpng12-dev should be added still.

wfdd commented 8 years ago

I'm no expert on such things but when I installed Pillow it said it derived PNG support from zlib. I don't think libpng is used by Pillow.

mhl commented 8 years ago

I've confirmed that there's actually no issue with the current Vagrantfile (as far as Pillow goes anyway, it's far from ideal in other ways) as @wfdd suggests, so I'm closing this.