V0.6 test api #1781
2
setup.py
2
setup.py
|
@ -168,7 +168,7 @@ if __name__ == "__main__":
|
||||||
'pybitmessage = pybitmessage.bitmessagemain:main'
|
'pybitmessage = pybitmessage.bitmessagemain:main'
|
||||||
] if sys.platform[:3] == 'win' else []
|
] if sys.platform[:3] == 'win' else []
|
||||||
},
|
},
|
||||||
scripts=['src/pybitmessage3'],
|
scripts=['src/pybitmessage'],
|
||||||
cmdclass={'install': InstallCmd},
|
cmdclass={'install': InstallCmd},
|
||||||
command_options={
|
command_options={
|
||||||
'build_sphinx': {
|
'build_sphinx': {
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
#!/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)
|
|
Reference in New Issue
Block a user