fix build: support python3, update cryptopp, update ed25519 #47
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fix build of pycryptopp
update sources with git modules:
src-ed25519 from https://github.com/orlp/ed25519 - last commit: 2022cc1: fatal error: src-ed25519/glue/ed25519module.c: No such file or directory
support python3 → fix #46
todo: use pkg-config to find incldir and libdir of cryptopp
building cryptopp takes forever, so the build should use the system's cryptopp library
setup.py: DISABLE_EMBEDDED_CRYPTOPP should be True by default
example on nixos:
/nix/store/jqlripd5k7i013xhx5aggz0cm4w2gmfh-crypto++-8.7.0-dev/lib/pkgconfig/libcryptopp.pc
fix build error with python3: Py_InitModule3
done: fixed in 204e5b3
currently, the build fails with
error: ‘Py_InitModule3’ was not declared in this scope
todo: fix build error with python3: PyString
currently, the build fails with
error: ‘PyString_CheckExact’ was not declared in this scope
in python3, there is no PyString_CheckExact
but PyUnicode_CheckExact, PyBytes_CheckExact, PyByteArray_CheckExact
my use case
pyload requires beakerno, pyload does not require beaker any more → low priority for me, but im almost done, so let me finish this...