Skip to content

Latest commit

 

History

History
88 lines (55 loc) · 2.21 KB

INSTALL.md

File metadata and controls

88 lines (55 loc) · 2.21 KB

MusicBrainz Picard Installation

Dependencies

Before installing Picard, you need to have these:

We recommend you use pip to install the Python dependencies:

Run the following command to install PyQt5, Mutagen and discid:

pip3 install -r requirements.txt

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 python3 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:

python3 setup.py build_ext -i
python3 setup.py build_locales -i

And to start Picard use:

python3 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:

python3 setup.py test

Packaging

Picard supports packaging binaries and uploading them to PyPi.

To submit a package run:

python3 setup.py sdist
twine upload dist/*