diff options
-rw-r--r-- | setuptools/site-patch.py | 4 | ||||
-rw-r--r-- | setuptools/tests/environment.py | 8 | ||||
-rw-r--r-- | setuptools/tests/test_build_py.py | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/setuptools/site-patch.py b/setuptools/site-patch.py index 159d254e..680e9355 100644 --- a/setuptools/site-patch.py +++ b/setuptools/site-patch.py @@ -10,7 +10,7 @@ def __boot(): pic = getattr(sys, 'path_importer_cache', {}) stdpath = sys.path[len(PYTHONPATH):] mydir = os.path.dirname(__file__) - #print "searching",stdpath,sys.path + # print "searching",stdpath,sys.path for item in stdpath: if item==mydir or not item: @@ -39,7 +39,7 @@ def __boot(): else: raise ImportError("Couldn't find the real 'site' module") - #print "loaded", __file__ + # print "loaded", __file__ known_paths = dict([(makepath(item)[1], 1) for item in sys.path]) # 2.2 comp diff --git a/setuptools/tests/environment.py b/setuptools/tests/environment.py index a23c0504..e5237721 100644 --- a/setuptools/tests/environment.py +++ b/setuptools/tests/environment.py @@ -25,11 +25,11 @@ def run_setup_py(cmd, pypath=None, path=None, for envname in os.environ: env[envname] = os.environ[envname] - #override the python path if needed + # override the python path if needed if pypath is not None: env["PYTHONPATH"] = pypath - #overide the execution path if needed + # overide the execution path if needed if path is not None: env["PATH"] = path if not env.get("PATH", ""): @@ -50,11 +50,11 @@ def run_setup_py(cmd, pypath=None, path=None, except OSError: return 1, '' - #decode the console string if needed + # decode the console string if needed if hasattr(data, "decode"): # use the default encoding data = data.decode() data = unicodedata.normalize('NFC', data) - #communciate calls wait() + # communciate calls wait() return proc.returncode, data diff --git a/setuptools/tests/test_build_py.py b/setuptools/tests/test_build_py.py index ed1703ac..860c569c 100644 --- a/setuptools/tests/test_build_py.py +++ b/setuptools/tests/test_build_py.py @@ -26,6 +26,6 @@ def test_directories_in_package_data_glob(tmpdir_as_cwd): package_data={'': ['path/*']}, )) os.makedirs('path/subpath') - #with contexts.quiet(): + # with contexts.quiet(): dist.parse_command_line() dist.run_commands() |