/pkgcheck

pkgcore-based QA utility

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

pypi test coverage

pkgcheck

Dependencies

pkgcheck is developed alongside pkgcore. To run the development version of pkgcheck you will need the development version of pkgcore.

The metadata.xml checks require lxml to be installed.

Installing

No installation is strictly required, just run the pkgcheck script and things should work. For a more permanent install see the following options:

Installing latest pypi release in a virtualenv:

pip install pkgcheck

Installing from git in a virtualenv:

git clone https://github.com/pkgcore/pkgcheck.git
./pkgcheck/requirements/pip.sh ./pkgcheck

Installing from a tarball or git repo:

python setup.py install

Tests

A standalone test runner is integrated in setup.py; to run, just execute:

python setup.py test

In addition, a tox config is provided so the testsuite can be run in a virtualenv setup against all supported python versions. To run tests for all environments just execute tox in the root directory of a repo or unpacked tarball. Otherwise, for a specific python version execute something similar to the following:

tox -e py36