diff --git a/zest/releaser/release.py b/zest/releaser/release.py index fb1e8cce..d39c91dd 100644 --- a/zest/releaser/release.py +++ b/zest/releaser/release.py @@ -164,8 +164,8 @@ def _upload_distributions(self, package): "Making a wheel of a fresh tag checkout (in %s).", self.data["tagworkingdir"], ) - env.install(builder.get_requires_for_build("wheel")) - builder.build("wheel", "./dist/") + env.install(builder.get_requires_for_build("wheel")) + builder.build("wheel", "./dist/") if not self.zest_releaser_config.upload_pypi(): logger.info("Upload to PyPI was disabled in the configuration.") return