We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7a6a09 commit 027c33eCopy full SHA for 027c33e
src/build_context.rs
@@ -129,6 +129,9 @@ impl BuildContext {
129
130
/// Builds a source distribution and returns the same metadata as [BuildContext::build_wheels]
131
pub fn build_source_distribution(&self) -> Result<Option<BuiltWheelMetadata>, Error> {
132
+ fs::create_dir_all(&self.out)
133
+ .context("Failed to create the target directory for the source distribution")?;
134
+
135
if get_pyproject_toml(self.manifest_path.parent().unwrap()).is_ok() {
136
let sdist_path = source_distribution(&self.out, &self.metadata21, &self.manifest_path)
137
.context("Failed to build source distribution")?;
0 commit comments