Skip to content

Commit

Permalink
Remove new if __main__ interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
kenodegard committed Jun 29, 2023
1 parent d500db8 commit 6ec4961
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 28 deletions.
4 changes: 0 additions & 4 deletions conda_build/cli/main_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,3 @@ def main():
)
sys.exit(1)
return


if __name__ == "__main__":
main()
4 changes: 0 additions & 4 deletions conda_build/cli/main_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
4 changes: 0 additions & 4 deletions conda_build/cli/main_debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
4 changes: 0 additions & 4 deletions conda_build/cli/main_develop.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
4 changes: 0 additions & 4 deletions conda_build/cli/main_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
4 changes: 0 additions & 4 deletions conda_build/cli/main_inspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
4 changes: 0 additions & 4 deletions conda_build/cli/main_metapackage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 6ec4961

Please sign in to comment.