Switch to source distribution as it seems more appropriate for us.
@@ -122,12 +122,12 @@ task formatCheck {
}
}
-task buildBinaryDistribution {
+task buildSourceDistribution {
mustRunAfter preparePythonEnvironment
doLast {
exec {
- commandLine 'pipenv', 'run', 'python', project.file("setup.py"), 'bdist'
+ commandLine 'pipenv', 'run', 'python', project.file("setup.py"), 'sdist'
}
}
}
@@ -139,3 +139,5 @@ test.dependsOn(preparePythonEnvironment)
test.dependsOn(formatCheck)
test.dependsOn(pytest)
+buildSourceDistribution.dependsOn(test)
+
