chiark / gitweb /
t/: Add a test suite.
[catacomb-python] / setup.py
index 161e2afcfa56f31584feea6e7f10dee2c1e1bf2e..80a154772a0504041c2e2793d3588c25d69e03d0 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@
 import distutils.core as DC
 import mdwsetup as MS
 
-MS.pkg_config('catacomb', '2.2.0')
+MS.pkg_config('catacomb', '2.3.0.1+4')
 MS.pkg_config('mLib', '2.0.4')
 
 cat = DC.Extension('catacomb._base',
@@ -18,11 +18,16 @@ cat = DC.Extension('catacomb._base',
 
 MS.setup(name = 'catacomb-python',
          description = 'Interface to Catacomb cryptographic library',
-         url = 'http://www.distorted.org.uk/~mdw/Catacomb-2.1.0',
+         url = 'https://git.distorted.org.uk/~mdw/catacomb-python/',
          author = 'Straylight/Edgeware',
          author_email = 'mdw@distorted.org.uk',
          license = 'GNU General Public License',
          packages = ['catacomb'],
          scripts = ['pwsafe'],
          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])