From 2fd5851408198b9cb0bb459c1880d7174db42917 Mon Sep 17 00:00:00 2001 From: Stephen Bunn Date: Tue, 24 Oct 2017 13:23:38 -0400 Subject: [PATCH] Fixing KeyError in setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index e6ee72f..3eae90f 100644 --- a/setup.py +++ b/setup.py @@ -38,7 +38,7 @@ def run(self): pass self.status('building distribution') - os.system(('{sys.executable} setup.py sdist').format(**locals())) + os.system(('{exe} setup.py sdist').format(exe=sys.executable)) self.status('uploading distribution') os.system('twine upload dist/*')