From 6ebbe5852ebf7bf8201cbbb12b4ad9e12ec4f519 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 1 Aug 2014 11:10:27 +0530 Subject: [PATCH] ... --- setup/publish.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/setup/publish.py b/setup/publish.py index 384351293d..779d452e9a 100644 --- a/setup/publish.py +++ b/setup/publish.py @@ -67,14 +67,10 @@ class Publish(Command): class PublishBetas(Command): - sub_commands = ['sdist', 'stage2',] + sub_commands = ['stage2', 'sdist'] def pre_sub_commands(self, opts): require_clean_git() - dist = self.a(self.j(self.d(self.SRC), 'dist')) - if os.path.exists(dist): - shutil.rmtree(dist) - os.mkdir(dist) def run(self, opts): dist = self.a(self.j(self.d(self.SRC), 'dist'))