Commit 4148e41f authored by xoviat's avatar xoviat

pep517: rename skip_install_eggs

parent 3a67d08b
...@@ -29,7 +29,7 @@ def fix_config(config_settings): ...@@ -29,7 +29,7 @@ def fix_config(config_settings):
def get_build_requires(config_settings): def get_build_requires(config_settings):
config_settings = fix_config(config_settings) config_settings = fix_config(config_settings)
requirements = ['setuptools', 'wheel'] requirements = ['setuptools', 'wheel']
dist.skip_install_eggs = True dist._skip_install_eggs = True
sys.argv = sys.argv[:1] + ['egg_info'] + \ sys.argv = sys.argv[:1] + ['egg_info'] + \
config_settings["--global-option"] config_settings["--global-option"]
...@@ -38,7 +38,7 @@ def get_build_requires(config_settings): ...@@ -38,7 +38,7 @@ def get_build_requires(config_settings):
except SetupRequirementsError as e: except SetupRequirementsError as e:
requirements += e.specifiers requirements += e.specifiers
dist.skip_install_eggs = False dist._skip_install_eggs = False
return requirements return requirements
......
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