A helper library for coda
- python-dev (Python 3)
- libxml2-dev
- libxslt-dev
In order to ease the pain of ensuring the system requirements above are fulfilled on your development machine, codalib provides a Dockerfile which will build the necessary environment for you.
To take advantage of this environment you will need to have Docker >= 1.3 installed.
Clone the repository.
$ git clone https://github.com/unt-libraries/codalib
$ cd codalib
Build the container.
$ docker build -t unt-libraries/codalib .
Run the tests in the container with Pytest.
$ ./runtests
Run the tests in the container with Pytest and custom flags.
$ ./runtests py.test -s --pdb
Run the tests in the container with Tox.
$ ./runtests tox
Optionally, you may just install the system requirements on your development machine.
If you choose this course of action:
Install the package requirements.
$ pip install -r requirements-test.txt
Run the tests with Pytest.
$ py.test
Run the tests with Tox.
$ [sudo] pip install tox
$ tox
See LICENSE