def build_python_wheel(self):
    with self.stage('Build Wheel') as s:
        print('Cleaning directory: {0}'.format(DIST_DIR))
        dist_path = os.path.join(self.project_path, DIST_DIR)
        if os.path.exists(dist_path):
            shutil.rmtree(dist_path)
        s.run_cmd('python3', 'setup.py', 'bdist_wheel')
def build_python_wheel(self):
    with self.stage('Build Wheel') as s:
        print('Cleaning directory: {0}'.format(DIST_DIR))
        dist_path = os.path.join(self.project_path, DIST_DIR)
        if os.path.exists(dist_path):
            shutil.rmtree(dist_path)
        s.run_cmd('python3', 'setup.py', 'bdist_wheel')