codalib

A helper library for Coda.


Keywords
library, anvl, coda
License
BSD-3-Clause
Install
pip install codalib==1.0.3

Documentation

codalib Build Status

A helper library for coda

System Requirements

  • python-dev (Python 2.6+)
  • libxml2-dev
  • libxslt-dev

Development

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

License

See LICENSE