summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorR. Tyler Ballance <tyler@monkeypox.org>2009-12-26 22:17:35 -0800
committerR. Tyler Ballance <tyler@monkeypox.org>2009-12-27 16:00:42 -0800
commit955549314408faa85aee0d6cccb1e6556cef8fdb (patch)
treedec2147a06af070473685ace094a4adc986370be
parentfda0a433c6b2e1ad6365f09d0a875a1cd4489507 (diff)
downloadpython-cheetah-955549314408faa85aee0d6cccb1e6556cef8fdb.tar.gz
Prune use of the 'apply()' function, deprecated since 2.3
-rw-r--r--SetupTools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/SetupTools.py b/SetupTools.py
index 8fb6fe5..65121c2 100644
--- a/SetupTools.py
+++ b/SetupTools.py
@@ -155,7 +155,7 @@ def run_setup(configurations):
# Invoke distutils setup
try:
- apply(setup, (), kws)
+ setup(**kws)
except BuildFailed as x:
print("One or more C extensions failed to build.")
print("Details: %s" % x)