summaryrefslogtreecommitdiff
path: root/setuptools/script.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/script.tmpl')
-rw-r--r--setuptools/script.tmpl3
1 files changed, 1 insertions, 2 deletions
diff --git a/setuptools/script.tmpl b/setuptools/script.tmpl
index 4504e264..ff5efbca 100644
--- a/setuptools/script.tmpl
+++ b/setuptools/script.tmpl
@@ -1,4 +1,3 @@
# EASY-INSTALL-SCRIPT: %(spec)r,%(script_name)r
__requires__ = %(spec)r
-import pkg_resources
-pkg_resources.run_script(%(spec)r, %(script_name)r)
+__import__('pkg_resources').run_script(%(spec)r, %(script_name)r)