diff --git a/conda_build/cli/main_build.py b/conda_build/cli/main_build.py index 9867a11846..999be96663 100644 --- a/conda_build/cli/main_build.py +++ b/conda_build/cli/main_build.py @@ -597,7 +597,3 @@ def main(): ) sys.exit(1) return - - -if __name__ == "__main__": - main() diff --git a/conda_build/cli/main_convert.py b/conda_build/cli/main_convert.py index a05cef0950..4c09cfc1da 100644 --- a/conda_build/cli/main_convert.py +++ b/conda_build/cli/main_convert.py @@ -132,7 +132,3 @@ def execute(args): @deprecated("3.26.0", "4.0.0", addendum="Use `conda convert` instead.") def main(): return execute(sys.argv[1:]) - - -if __name__ == "__main__": - main() diff --git a/conda_build/cli/main_debug.py b/conda_build/cli/main_debug.py index 1a9516bbd8..00c6eeb230 100644 --- a/conda_build/cli/main_debug.py +++ b/conda_build/cli/main_debug.py @@ -121,7 +121,3 @@ def execute(args): @deprecated("3.26.0", "4.0.0", addendum="Use `conda debug` instead.") def main(): return execute(sys.argv[1:]) - - -if __name__ == "__main__": - main() diff --git a/conda_build/cli/main_develop.py b/conda_build/cli/main_develop.py index f7c3c5ce95..a7a202e5ff 100644 --- a/conda_build/cli/main_develop.py +++ b/conda_build/cli/main_develop.py @@ -91,7 +91,3 @@ def execute(args): @deprecated("3.26.0", "4.0.0", addendum="Use `conda develop` instead.") def main(): return execute(sys.argv[1:]) - - -if __name__ == "__main__": - main() diff --git a/conda_build/cli/main_index.py b/conda_build/cli/main_index.py index c588e73d26..b0eefa8aa7 100644 --- a/conda_build/cli/main_index.py +++ b/conda_build/cli/main_index.py @@ -124,7 +124,3 @@ def execute(args): @deprecated("3.26.0", "4.0.0", addendum="Use `conda index` instead.") def main(): return execute(sys.argv[1:]) - - -if __name__ == "__main__": - main() diff --git a/conda_build/cli/main_inspect.py b/conda_build/cli/main_inspect.py index ddf392e1a8..79e0594a4f 100644 --- a/conda_build/cli/main_inspect.py +++ b/conda_build/cli/main_inspect.py @@ -225,7 +225,3 @@ def execute(args): @deprecated("3.26.0", "4.0.0", addendum="Use `conda inspect` instead.") def main(): return execute(sys.argv[1:]) - - -if __name__ == "__main__": - main() diff --git a/conda_build/cli/main_metapackage.py b/conda_build/cli/main_metapackage.py index ece55cd94c..71be2e7d3d 100644 --- a/conda_build/cli/main_metapackage.py +++ b/conda_build/cli/main_metapackage.py @@ -115,7 +115,3 @@ def execute(args): @deprecated("3.26.0", "4.0.0", addendum="Use `conda metapackage` instead.") def main(): return execute(sys.argv[1:]) - - -if __name__ == "__main__": - main()