X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb-python/blobdiff_plain/18f3a602d58936c59f8fbf98b22273e9c94ff402..49e3a113cb9d12d5c3308e64584dce2c916431a1:/setup.py?ds=sidebyside diff --git a/setup.py b/setup.py index 1f45f69..d778177 100755 --- a/setup.py +++ b/setup.py @@ -3,8 +3,8 @@ import distutils.core as DC import mdwsetup as MS -MS.pkg_config('catacomb', '2.3.0.1+4') -MS.pkg_config('mLib', '2.0.4') +MS.pkg_config('catacomb', '2.5.0') +MS.pkg_config('mLib', '2.2.2.1') cat = DC.Extension('catacomb._base', ['catacomb.c', 'bytestring.c', 'buffer.c', @@ -23,6 +23,12 @@ MS.setup(name = 'catacomb-python', author_email = 'mdw@distorted.org.uk', license = 'GNU General Public License', packages = ['catacomb'], - scripts = ['pwsafe'], + 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])