Update documentation about install

This commit is contained in:
2018-02-26 09:14:59 +09:00
parent cf38bd34fb
commit 9088995ff9
2 changed files with 19 additions and 1 deletions

View File

@@ -4,7 +4,22 @@ Reverse GeoLocate from XMP sidecar files with optional LightRoom DB read
This script will update any of the Country Code, Country, State, City and Location data that is missing in sidecard files. If a Lightroom DB is set, it will read any data from the database and fill in the fields before it tries to get the location name from google with the Latitude and Longitude found in either the XMP sidecar file or the LR database. This script will update any of the Country Code, Country, State, City and Location data that is missing in sidecard files. If a Lightroom DB is set, it will read any data from the database and fill in the fields before it tries to get the location name from google with the Latitude and Longitude found in either the XMP sidecar file or the LR database.
This script used the [Python XMP Tool kit](http://python-xmp-toolkit.readthedocs.io/) #### Installing and setting up
The script uses the following external non defauly python libraries
* xmp toolkit
* requests
install both with the pip3 command
```
pip3 install requests
pip3 install python-xmp-toolkit
```
XMP Toolkit also needs the [Exempi Library](http://libopenraw.freedesktop.org/wiki/Exempi). This one can be install via brew or macports directly.
See more information for [Python XMP Tool kit](http://python-xmp-toolkit.readthedocs.io/)
The scripts python3 enviroment path (#!...) needs to be set so it points to a valid python3 install.
## Command line arguments ## Command line arguments

View File

@@ -1,5 +1,8 @@
#!/opt/local/bin/python3 #!/opt/local/bin/python3
# /opt is for MacPorts
# /usr is for Brew
# AUTHOR : Clemens Schwaighofer # AUTHOR : Clemens Schwaighofer
# DATE : 2018/2/20 # DATE : 2018/2/20
# LICENSE: GPLv3 # LICENSE: GPLv3