Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.io.video
Commits
cbeca8f1
Commit
cbeca8f1
authored
May 16, 2014
by
André Anjos
💬
Browse files
Update on dependencies
parent
61ede3eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
cbeca8f1
...
...
@@ -17,6 +17,7 @@ before_install:
-
sudo add-apt-repository -y ppa:biometrics/bob.preview
-
sudo apt-get update -qq
-
sudo apt-get install -qq --force-yes bob-dev libavcodec-dev libavformat-dev libswscale-dev
-
sudo apt-get install -qq python-imaging
-
if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran; fi
-
if [ -n "${NUMPYSPEC}" ]; then pip install --upgrade pip setuptools; fi
-
if [ -n "${NUMPYSPEC}" ]; then pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel numpy$NUMPYSPEC sphinx nose; fi
...
...
setup.py
View file @
cbeca8f1
...
...
@@ -18,8 +18,18 @@ packages = [
'libavutil >= 49.15.0'
,
'libswscale >= 0.7.1'
]
version
=
'2.0.0a0'
# Check if python-imaging means pil or pillow
pil_or_pillow
=
[]
try
:
import
pkg_resources
pkg_resources
.
require
(
'PIL'
)
pil_or_pillow
.
append
(
'pil'
)
except
pkg_resources
.
DistributionNotFound
as
e
:
pil_or_pillow
.
append
(
'pillow'
)
setup
(
name
=
'xbob.io.video'
,
...
...
@@ -39,7 +49,7 @@ setup(
'setuptools'
,
'xbob.blitz'
,
'xbob.io.base'
,
],
]
+
pil_or_pillow
,
namespace_packages
=
[
"xbob"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment