Skip to content
This repository was archived by the owner on May 29, 2020. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import print_function

import codecs
import os
import re
Expand Down Expand Up @@ -30,14 +32,14 @@ def find_file(filename, std_dirs, paths):
# Check the standard locations
for dir in std_dirs:
f = os.path.join(dir, filename)
print 'looking for', f
print('looking for', f)
if os.path.exists(f):
return []

# Check the additional directories
for dir in paths:
f = os.path.join(dir, filename)
print 'looking for', f
print('looking for', f)
if os.path.exists(f):
return [dir]

Expand Down