Commit 731df905 authored by Jason R. Coombs's avatar Jason R. Coombs

Always specify formats=gztar, overriding the project's legacy expectation that...

Always specify formats=gztar, overriding the project's legacy expectation that a zip sdist should be generated. Fixes #1623.
parent 38bbfded
......@@ -170,7 +170,7 @@ def build_wheel(wheel_directory, config_settings=None,
def build_sdist(sdist_directory, config_settings=None):
config_settings = _fix_config(config_settings)
sdist_directory = os.path.abspath(sdist_directory)
sys.argv = sys.argv[:1] + ['sdist'] + \
sys.argv = sys.argv[:1] + ['sdist', '--formats', 'gztar'] + \
config_settings["--global-option"] + \
["--dist-dir", sdist_directory]
_run_setup()
......
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