l e m m s t e r . d e
  • Home
  • impressum
  • talks
  • Categories
  • Tags
  • Archives

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


Published

Jun 22, 2013

Category

hacks

Contact

  • Powered by Pelican. Theme: Elegant