no more module_installer

This commit is contained in:
mdipierro
2015-06-30 16:12:54 -05:00
parent 8e63825def
commit 2fc081bc3c

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)