diff options
-rwxr-xr-x | setup.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -25,7 +25,6 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # DEALINGS IN THE SOFTWARE. -from distutils.dir_util import mkpath from setuptools.dist import Distribution from setuptools import setup, Extension import os @@ -68,7 +67,7 @@ class Build(Distribution().get_command_class('build')): def run(self): srcdir = os.getcwd() builddir = os.path.join(srcdir, self.build_temp) - mkpath(builddir) + os.makedirs(builddir, exist_ok=True) if use_autotools: configure = os.path.join(srcdir, 'configure') |