diff --git a/poetry/masonry/builders/sdist.py b/poetry/masonry/builders/sdist.py index 268f8f5c6f8..ec6b685d17b 100644 --- a/poetry/masonry/builders/sdist.py +++ b/poetry/masonry/builders/sdist.py @@ -22,7 +22,7 @@ SETUP = """\ # -*- coding: utf-8 -*- -from distutils.core import setup +from setuptools import setup {before} setup_kwargs = {{