Build and run eyeD3 from source on Debian|Ubuntu with virtualenv

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
sudo apt-get install python-virtualenv virtualenvwrapper mercurial

cd /usr/local/src/
hg clone https://lemmster@bitbucket.org/lemmster/eyed3

# Change virtualenvwrapper.sh in mkenv.sh to align with debian|ubuntu
# (http://askubuntu.com/questions/251378/where-is-virtualenvwrapper-sh)
sed -i.bak 's/\/usr\/bin\/virtualenvwrapper.sh/\/etc\/bash_completion.d\/virtualenvwrapper/g' mkenv.sh

# make virtualenvwrapper install into current directory instead of $HOME
export WORKON_HOME=`pwd`/.virtualenvs

# Create an virtual environment for eyeD3
mkenv.sh

# Add workon to path
source /etc/bash_completion.d/virtualenvwrapper
# Switch to newly created eyeD3 virtual environment
workon eyeD3
# Run tests (creates info.py from info.py.in automatically)
paver test
# run current version of eyeD3
eyeD3 --help

See also http://eyed3.nicfit.net/installation.html


Want to comment? Send me an email to blog-comments-2018 at lemmster d.t de and I'll paste it here (I won't publish your address). Why don't you use an external comment service like disqus, you ask? Well, I like to keep this site under my control, comments included. You can use markdown to format your comment.