From 904a033ae738e1c351f8fef71e2ec2418fc4db3d Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Fri, 5 Feb 2021 12:27:32 +0100 Subject: Renaming src -> minishell_test for package name, Renaming main.py -> __main__.py for package execution with python -m --- minishell_test/suites/__init__.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 minishell_test/suites/__init__.py (limited to 'minishell_test/suites/__init__.py') diff --git a/minishell_test/suites/__init__.py b/minishell_test/suites/__init__.py new file mode 100644 index 0000000..b6b3b68 --- /dev/null +++ b/minishell_test/suites/__init__.py @@ -0,0 +1,17 @@ +# ############################################################################ # +# # +# ::: :::::::: # +# __init__.py :+: :+: :+: # +# +:+ +:+ +:+ # +# By: charles +#+ +:+ +#+ # +# +#+#+#+#+#+ +#+ # +# Created: 2020/07/15 18:24:48 by charles #+# #+# # +# Updated: 2020/09/11 13:25:26 by charles ### ########.fr # +# # +# ############################################################################ # + +import os +import glob + +modules = glob.glob(os.path.join(os.path.dirname(__file__), "*.py")) +__all__ = [os.path.basename(f)[:-3] for f in modules if os.path.isfile(f) and not f.endswith("__init__.py")] -- cgit