aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 35746e651..abc8d9e5d 100644
--- a/setup.py
+++ b/setup.py
@@ -235,7 +235,7 @@ def check_allowed_python_version():
import re
pattern = "'Programming Language :: Python :: (\d+)\.(\d+)'"
supported = []
- with open(__file__) as setup:
+ with open(this_file) as setup:
for line in setup.readlines():
found = re.search(pattern, line)
if found: