diff --git a/setup.py b/setup.py index e33b1ae0..0de2eb8c 100644 --- a/setup.py +++ b/setup.py @@ -168,7 +168,7 @@ if __name__ == "__main__": 'pybitmessage = pybitmessage.bitmessagemain:main' ] if sys.platform[:3] == 'win' else [] }, - scripts=['src/pybitmessage3'], + scripts=['src/pybitmessage'], cmdclass={'install': InstallCmd}, command_options={ 'build_sphinx': { diff --git a/src/pybitmessage3 b/src/pybitmessage3 deleted file mode 100644 index 5c674cc4..00000000 --- a/src/pybitmessage3 +++ /dev/null @@ -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) \ No newline at end of file