From f19f039433c1e72705ab1198850a8a14ca8fde3a Mon Sep 17 00:00:00 2001 From: robnagler Date: Sat, 19 May 2018 19:15:41 +0000 Subject: [PATCH] pip no longer exports APIs see https://github.com/radiasoft/pykern/issues/23 --- setup.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/setup.py b/setup.py index 96082b6..75078db 100644 --- a/setup.py +++ b/setup.py @@ -7,13 +7,7 @@ # All imports (except __future__) must come after this block. # setuptools, in particular, caches data about the current state # of modules so it has to be imported after the pykern import. -try: - from pykern import pksetup -except ImportError: - import pip - pip.main(['install', 'pykern']) - from pykern import pksetup - +from pykern import pksetup pksetup.setup( name='rszgoubi',