pylibswarm

Python3 wrapper for libswarm-ng
git clone git://git.defalsify.org/pylibswarm.git
Log | Files | Refs | Submodules | README | LICENSE

commit d38cb46bfe7d350b9f3b0dc306bc6dee8989036c
parent 4788dda55c05ddc34a867b11462eb8bbe3f52766
Author: nolash <dev@holbrook.no>
Date:   Fri,  1 Oct 2021 10:00:14 +0200

Add entry point ascripts

Diffstat:
Msetup.py | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/setup.py b/setup.py @@ -39,6 +39,7 @@ def main(): include_dirs=[ os.path.join(swarm_dir, 'src'), os.path.join(swarm_dir, 'aux/keccak-tiny'), + os.path.join(swarm_dir, 'aux/secp256k1/include'), ], library_dirs=[ os.path.join(swarm_dir, 'aux/secp256k1/.libs'), @@ -54,6 +55,13 @@ def main(): ], ), ], + entry_points = { + 'console_scripts': [ + 'swarm-bmt=pylibswarm.runnable.bmt:main', + 'swarm-file=pylibswarm.runnable.file:main', + 'swarm-soc=pylibswarm.runnable.soc:main', + ], + }, ) if __name__ == '__main__':