Commit 4148e41f authored by xoviat's avatar xoviat

pep517: rename skip_install_eggs

parent 3a67d08b
......@@ -29,7 +29,7 @@ def fix_config(config_settings):
def get_build_requires(config_settings):
config_settings = fix_config(config_settings)
requirements = ['setuptools', 'wheel']
dist.skip_install_eggs = True
dist._skip_install_eggs = True
sys.argv = sys.argv[:1] + ['egg_info'] + \
config_settings["--global-option"]
......@@ -38,7 +38,7 @@ def get_build_requires(config_settings):
except SetupRequirementsError as e:
requirements += e.specifiers
dist.skip_install_eggs = False
dist._skip_install_eggs = False
return requirements
......@@ -88,4 +88,4 @@ def build_sdist(sdist_directory, config_settings=None):
if f.endswith('.tar.gz')]
assert len(sdists) == 1
return sdists[0]
\ No newline at end of file
return sdists[0]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment