14 lines
301 B
Plaintext
14 lines
301 B
Plaintext
|
#!/usr/bin/python3
|
||
|
|
||
|
import os
|
||
|
import pkg_resources
|
||
|
|
||
|
import pybitmessage
|
||
|
|
||
|
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)
|
||
|
|
||
|
execfile(script_file, new_globals)
|