This PR includes a lot of changes designed to make the bhl_born_digital_utils work better with the new RMWs (and to just be more user-friendly in general). Among the changes included in this pull request are:
Rename bhl_born_digital_utils.py to bhl_bd_utils.py
Add a setup.py script to be able to pip install from GitHub and add bhl_bd_utils.py to the system path
Add support for a ~/.bhl_bd_utils configuration file to configure defaults for: input directory (local RMW path), destination directory (remote digital storage), webcam directory, logs directory, separations directory, paths to executables for FFmpeg, HandBrakeCLI, and bulk_extractor, and a HandBrake presets file. Wherever these values were hard coded or assumed to be relative to the bhl_born_digital_utils package directory, the values are now grabbed from the configuration file
Integrates make_dips.py into bhl_bd_utils.py and adds support for generating DIPs from video DVDs transferred from the RMWs (not just from the RipStation)
Simplifies the commands needed to run most utilities. Now most utilities require just an accession number (and occasionally some other optional arguments) rather than paths to source directories (these are not in the configuration file)
Moves bhl_inventory.csv into the bhl_born_digital_utils package directory to be included in the installation and adds support for automatically copying the bhl_inventory.csv template to a new accession directory
This PR includes a lot of changes designed to make the bhl_born_digital_utils work better with the new RMWs (and to just be more user-friendly in general). Among the changes included in this pull request are:
bhl_born_digital_utils.py
tobhl_bd_utils.py
pip install
from GitHub and addbhl_bd_utils.py
to the system path~/.bhl_bd_utils
configuration file to configure defaults for: input directory (local RMW path), destination directory (remote digital storage), webcam directory, logs directory, separations directory, paths to executables for FFmpeg, HandBrakeCLI, and bulk_extractor, and a HandBrake presets file. Wherever these values were hard coded or assumed to be relative to thebhl_born_digital_utils
package directory, the values are now grabbed from the configuration filemake_dips.py
intobhl_bd_utils.py
and adds support for generating DIPs from video DVDs transferred from the RMWs (not just from the RipStation)bhl_inventory.csv
into thebhl_born_digital_utils
package directory to be included in the installation and adds support for automatically copying thebhl_inventory.csv
template to a new accession directory