no more module_installer

This commit is contained in:
mdipierro committed 2015-06-30 16:12:54 -05:00
1 parent 8e63825def
commit 2fc081bc3c
1 file changed
-10
-10
View File
@@ -1,10 +0,0 @@
from setuptools.command import easy_install
import pkg_resources
def install(module_names):
for name in module_names:
try:
pkg_resources.require(name)
except pkg_resources.DistributionNotFound:
easy_install.main( ["-U",name] )
pkg_resources.require(name)