This repository has been archived on 2025-02-01. You can view files and clone it, but cannot push or open issues or pull requests.
PyBitmessage-2025-02-01/src/pybitmessage
cis-kuldeep 71b5c87f75
Enabled python3, fixed type errors due to string encode/decode
Ported api to python3

Ported 10 test cases for test_api to Python3

Fixed decode error & some import errors

fixed all bugs for python3

fixed code quality

Python 2/3 compatible base64 encoding

code quality fixes

pylint: disable=e1101

fixed type error in test_logger

code quality fixes

fixed pybitmessage binary

changes in binary

added new binary
2021-07-14 17:07:23 +05:30

15 lines
393 B
Python

#!/usr/bin/python2.7
import os
import pkg_resources
dist = pkg_resources.get_distribution('pybitmessage')
script_file = os.path.join(dist.location, dist.key, 'bitmessagemain.py')
new_globals = globals()
new_globals.update(__file__=script_file)
try:
execfile(script_file, new_globals)
except NameError:
exec(compile(open(script_file, "rb").read(), script_file, 'exec'), new_globals)