mirror of
https://github.com/fergalmoran/picard.git
synced 2026-01-06 16:44:06 +00:00
PEP 394 makes it clear that python should only be used for applications that can be run with both Python 2 and Python 3, python3 should be used for Python 3. pip3 is used because that's what Python 3 compatible pip is called on at least Arch, Debian, Fedora and Ubuntu.
20 lines
715 B
Markdown
20 lines
715 B
Markdown
Updating Resources
|
|
==================
|
|
|
|
This directory contains all external resources, like icons, used by Picard.
|
|
|
|
Picard utilizes the PyQt5 Resource System for using these resources in
|
|
application. For more information about the PyQt5 Resource System see this
|
|
[documentation](http://pyqt.sourceforge.net/Docs/PyQt5/resources.html).
|
|
|
|
For adding a new image into existing resources, follow these steps:
|
|
|
|
1. Add image file (like .png) into `resources/images/` and source file (like .svg) into `resources/img-src`.
|
|
2. Generate new .qrc file. This would automatically detect any changes in directory.
|
|
|
|
$ python3 makeqrc.py
|
|
|
|
3. Create binary of all resources which will be used by Picard.
|
|
|
|
$ python3 compile.py
|