From e825279dedc6543381576290ee9e5d11da9b9ecf Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Wed, 18 Apr 2012 14:02:29 +0100 Subject: [PATCH] Force setuptools to skip byte compilation when installing on Python 3. Closes gh-1470 --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index f49201852..4e656ae02 100755 --- a/setup.py +++ b/setup.py @@ -237,6 +237,7 @@ if 'setuptools' in sys.modules: from setuptools.command.build_py import build_py setup_args['cmdclass'] = {'build_py': record_commit_info('IPython', build_cmd=build_py)} setuptools_extra_args['entry_points'] = find_scripts(True, suffix='3') + setuptools._dont_write_bytecode = True else: # If we are running without setuptools, call this function which will # check for dependencies an inform the user what is needed. This is