diff options
author | R. Tyler Ballance <tyler@monkeypox.org> | 2009-12-26 22:22:51 -0800 |
---|---|---|
committer | R. Tyler Ballance <tyler@monkeypox.org> | 2009-12-26 22:22:51 -0800 |
commit | 2ce00d1867dbe8f2a101d237b43bc9306470c85a (patch) | |
tree | 5a8d9a123bf255d0b31717b3c298fbde61c9112a /SetupTools.py | |
parent | 9b2cbb3b3c2f42a678dc81bddcfa239f7b9d1492 (diff) | |
download | python-cheetah-2ce00d1867dbe8f2a101d237b43bc9306470c85a.tar.gz |
Prune use of the 'apply()' function, deprecated since 2.3
Conflicts:
SetupTools.py
Diffstat (limited to 'SetupTools.py')
-rw-r--r-- | SetupTools.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SetupTools.py b/SetupTools.py index c831d42..5892e72 100644 --- a/SetupTools.py +++ b/SetupTools.py @@ -155,14 +155,14 @@ def run_setup(configurations): # Invoke distutils setup try: - apply(setup, (), kws) + setup(**kws) except BuildFailed, x: print("One or more C extensions failed to build.") print("Details: %s" % x) print("Retrying without C extensions enabled.") del kws['ext_modules'] - apply(setup, (), kws) + setup(**kws) print("One or more C extensions failed to build.") print("Performance enhancements will not be available.") |