Install as a command-line tool
GeoPicTagReader can be installed using two methods:
- From PyPI, the Python central package repository
- Using this Git repository
GeoPicTagReader is compatible with all Python versions >= 3.8.
Note
Due to Pyexiv2 dependency on a recent GLIBC version, you have to make sure to run on a recent, up-to-date operating system.
Alternatively, you can use pipx if you want all the script dependencies to be in a custom virtual env.
You need to install pipx, then:
Download the repository:
git clone https://gitlab.com/panoramax/server/geo-picture-tag-reader.git geopic_tag_reader
cd geopic_tag_reader/
# Create the virtual environment in a folder named "env" (1)
python3 -m venv env
# Launches utilities to make environment available in your Bash
source ./env/bin/activate
# Then, install the dependencies using pip:
pip install -e .
- To avoid conflicts, it's considered a good practice to create a virtual environment (or virtualenv).
After this you should be able to use the CLI tool with the name geopic-tag-reader
:
Write EXIF tags
If you want to be able to write exif tags, you need to also install the write-exif
extra:
This will install libexiv2 if available in the target platform.