X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb-python/blobdiff_plain/d74cc4dcffc653619f8599cdbeab08027b2448c7..be631e83aad0076384867bc2da685ae846f887a8:/setup.py?ds=sidebyside diff --git a/setup.py b/setup.py index efa922b..8ac72ab 100755 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ import distutils.core as DC import mdwsetup as MS MS.pkg_config('catacomb', '2.5.0') -MS.pkg_config('mLib', '2.2.2.1') +MS.pkg_config('mLib', '2.4.99~') cat = DC.Extension('catacomb._base', ['catacomb.c', 'bytestring.c', 'buffer.c', @@ -26,4 +26,9 @@ MS.setup(name = 'catacomb-python', scripts = ['pock', 'pwsafe'], data_files = [('share/man/man1', ['pock.1', 'pwsafe.1'])], genfiles = [MS.Generate('algorithms.h')], + unittest_dir = "t", + unittests = ["t-misc", "t-algorithms", "t-bytes", "t-buffer", + "t-convert", "t-ec", "t-field", "t-group", "t-key", + "t-mp", "t-passphrase", "t-pgen", "t-pubkey", + "t-rand", "t-rat", "t-share"], ext_modules = [cat])