forked from metabrainz/picard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL.txt
85 lines (56 loc) · 2.13 KB
/
INSTALL.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
MusicBrainz Picard Installation
===============================
Dependencies
------------
Before installing Picard, you need to have these:
* Python 2.6 or newer (Picard will not work with Python 3)
http://python.org/download
* PyQt 4.5 or newer
http://www.riverbankcomputing.co.uk/software/pyqt/download
* Mutagen 1.20 or newer
http://code.google.com/p/mutagen/downloads
* gettext
Windows: http://gnuwin32.sourceforge.net/packages/gettext.htm
* a compiler
Windows should work with Visual C++ 2008 Express:
http://go.microsoft.com/?linkid=7729279
* chromaprint (optional)
For fingerprinting (scanning) files
http://acoustid.org/chromaprint
* python-discid or python-libdiscid (optional)
Required for CD lookups.
https://python-discid.readthedocs.org/
Depends on libdiscid: http://musicbrainz.org/doc/libdiscid
Due to slowdowns in reading the CD TOC, using libdiscid versions
0.3.0 - 0.4.1 is not recommended.
On Windows it is recommended to use Pip for Windows:
https://sites.google.com/site/pydatalog/python/pip-for-windows
and then just:
pip install mutagen
pip install discid
there for Mutagen and python-discid.
The binaries for Python, GetText (msgfmt), fpcalc and discid.dll have to be
in the %PATH% on Windows.
Installation
------------
After installing the dependencies, you can install Picard by running:
sudo python setup.py install
This will automatically build and install all required Python modules.
On Windows you need to have Administrator rights, but don't put "sudo"
in front of the command.
To start Picard now you can use:
picard
Running From the Source Tree
----------------------------
If you want to run Picard from the source directory without installing, you
need to build the C extensions and locales manually:
python setup.py build_ext -i
python setup.py build_locales -i
And to start Picard use:
python tagger.py
Running the Test Suite
----------------------
To run the included tests, follow the instructions for "Running From
the Source Tree". Afterward you can run the tests using setup.py:
python setup.py test
Alternatively, use a test runner such as nose.