From ea346ec92092e3bd8d8c07f0522de5e9d1081f00 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sat, 25 Oct 2014 20:13:53 -0400 Subject: Remove Python 2.5 compatibility for sys.dont_write_bytecode --- setuptools/__init__.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'setuptools/__init__.py') diff --git a/setuptools/__init__.py b/setuptools/__init__.py index 6c51072d..ca025c30 100644 --- a/setuptools/__init__.py +++ b/setuptools/__init__.py @@ -148,7 +148,3 @@ def findall(dir = os.curdir): return all_files distutils.filelist.findall = findall # fix findall bug in distutils. - -# sys.dont_write_bytecode was introduced in Python 2.6. -_dont_write_bytecode = getattr(sys, 'dont_write_bytecode', - bool(os.environ.get("PYTHONDONTWRITEBYTECODE"))) -- cgit v1.2.1