mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +03:00
refactored out dependencies
This commit is contained in:
parent
d4ecef390f
commit
31b84f41bc
15
.travis.yml
15
.travis.yml
|
@ -20,20 +20,11 @@ install:
|
||||||
# enables pypy to compile
|
# enables pypy to compile
|
||||||
# - "sudo apt-get install python-tk"
|
# - "sudo apt-get install python-tk"
|
||||||
|
|
||||||
# webp UNDONE -- refactor
|
# webp
|
||||||
- date
|
- pushd depends && ./install_web[.sh && popd
|
||||||
- "wget 'https://webp.googlecode.com/files/libwebp-0.4.0.tar.gz' -O /tmp/libwebp-0.4.0.tar.gz"
|
|
||||||
- date
|
|
||||||
- "tar -C /tmp -xvzf /tmp/libwebp-0.4.0.tar.gz"
|
|
||||||
- "pushd /tmp/libwebp-0.4.0 && ./configure --prefix=/usr --enable-libwebpmux --enable-libwebpdemux && make && sudo make install && popd"
|
|
||||||
- date
|
|
||||||
|
|
||||||
# openjpeg
|
# openjpeg
|
||||||
- "wget 'https://openjpeg.googlecode.com/files/openjpeg-2.0.0.tar.gz' -O /tmp/openjpeg-2.0.0.tar.gz"
|
- pushd depends && ./install_openjpeg.sh && popd
|
||||||
- "tar -C /tmp -xvzf /tmp/openjpeg-2.0.0.tar.gz"
|
|
||||||
- date
|
|
||||||
- "pushd /tmp/openjpeg-2.0.0 && cmake -DCMAKE_INSTALL_PREFIX=/usr . && make && sudo make install && popd"
|
|
||||||
- date
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- python setup.py clean
|
- python setup.py clean
|
||||||
|
|
18
depends/install_openjpeg.sh
Executable file
18
depends/install_openjpeg.sh
Executable file
|
@ -0,0 +1,18 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# install openjpeg
|
||||||
|
|
||||||
|
|
||||||
|
if [ ! -f openjpeg-2.0.0.tar.gz ]; then
|
||||||
|
wget 'https://openjpeg.googlecode.com/files/openjpeg-2.0.0.tar.gz'
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -r openjpeg-2.0.0
|
||||||
|
tar -xvzf openjpeg-2.0.0.tar.gz
|
||||||
|
|
||||||
|
|
||||||
|
pushd openjpeg-2.0.0
|
||||||
|
|
||||||
|
cmake -DCMAKE_INSTALL_PREFIX=/usr . && make && sudo make install
|
||||||
|
|
||||||
|
popd
|
||||||
|
|
18
depends/install_webp.sh
Executable file
18
depends/install_webp.sh
Executable file
|
@ -0,0 +1,18 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# install webp
|
||||||
|
|
||||||
|
|
||||||
|
if [ ! -f libwebp-0.4.0.tar.gz ]; then
|
||||||
|
wget 'https://webp.googlecode.com/files/libwebp-0.4.0.tar.gz'
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -r libwebp-0.4.0
|
||||||
|
tar -xvzf libwebp-0.4.0.tar.gz
|
||||||
|
|
||||||
|
|
||||||
|
pushd libwebp-0.4.0
|
||||||
|
|
||||||
|
./configure --prefix=/usr --enable-libwebpmux --enable-libwebpdemux && make && sudo make install
|
||||||
|
|
||||||
|
popd
|
||||||
|
|
Loading…
Reference in New Issue
Block a user