diff --git a/setup.py b/setup.py index ee17035..1a520bc 100644 --- a/setup.py +++ b/setup.py @@ -60,7 +60,7 @@ class PublishCommand(Command): def run(self): try: self.status('Removing previous builds…') - rmtree(os.sep.join(('.', 'dist'))) + rmtree(os.path.join(here, 'dist')) except FileNotFoundError: pass