Instructions for working with the medialibrary source code.
$ cd code
$ git clone https://github.com/cjcodeproj/medialibrary.git
Assuming a normal Python 3 environment with setuptools and build modules installed:
$ cd medialibrary
$ python -m build
The build will generate a dist/ directory with a .tar.gz file and a .whl file, suitable for installing. When ready to install, just use the PIP command as documented in the README.md file.
Unit tests can be run as follows:
$ cd medialibrary
$ PYTHONPATH=src/ python -m unittest
All code is checked with pycodestyle and pylint before committed.
$ cd medialibrary/src
$ pycodestyle media
$ pylint media
$ cd medialibrary
$ pycodestyle test
$ PYTHONPATH=src/ pylint test