~mdw
/
catacomb-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ec.c: Reject strings with trailing junk in the curve-point constructor.
[catacomb-python]
/
setup.py
diff --git
a/setup.py
b/setup.py
index
bb6d2e1
..
87a321c
100755
(executable)
--- a/
setup.py
+++ b/
setup.py
@@
-3,14
+3,16
@@
import distutils.core as DC
import mdwsetup as MS
import distutils.core as DC
import mdwsetup as MS
-MS.pkg_config('catacomb', '2.
4.2-7
0')
-MS.pkg_config('mLib', '2.
2.2.1
')
+MS.pkg_config('catacomb', '2.
5.
0')
+MS.pkg_config('mLib', '2.
4.99~
')
cat = DC.Extension('catacomb._base',
['catacomb.c', 'bytestring.c', 'buffer.c',
'rand.c', 'algorithms.c', 'pubkey.c', 'pgen.c',
'mp.c', 'field.c', 'ec.c', 'group.c', 'passphrase.c',
cat = DC.Extension('catacomb._base',
['catacomb.c', 'bytestring.c', 'buffer.c',
'rand.c', 'algorithms.c', 'pubkey.c', 'pgen.c',
'mp.c', 'field.c', 'ec.c', 'group.c', 'passphrase.c',
- 'share.c', 'key.c', 'util.c'],
+ 'share.c', 'key.c',
+ 'pyke/pyke.c', 'pyke/pyke-mLib.c',
+ 'pyke/mapping.c', 'pyke/mapping-mLib.c'],
##extra_compile_args = ['-O0'],
include_dirs = MS.uniquify(MS.INCLUDEDIRS),
library_dirs = MS.uniquify(MS.LIBDIRS),
##extra_compile_args = ['-O0'],
include_dirs = MS.uniquify(MS.INCLUDEDIRS),
library_dirs = MS.uniquify(MS.LIBDIRS),
@@
-26,4
+28,9
@@
MS.setup(name = 'catacomb-python',
scripts = ['pock', 'pwsafe'],
data_files = [('share/man/man1', ['pock.1', 'pwsafe.1'])],
genfiles = [MS.Generate('algorithms.h')],
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])
ext_modules = [cat])