diff --git a/.gitignore b/.gitignore index bd8bab9..9ee2832 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ /.mypy_cache/ /.venv/ +/PFERD.egg-info/ +__pycache__/ diff --git a/PFERD/__init__.py b/PFERD/__init__.py index 059f585..b657171 100644 --- a/PFERD/__init__.py +++ b/PFERD/__init__.py @@ -1,8 +1,2 @@ -# pylint: disable=invalid-name - -""" -This module exports only what you need for a basic configuration. If you want a -more complex configuration, you need to import the other submodules manually. -""" - -from .pferd import Pferd +def main() -> None: + print("Hello world") diff --git a/setup.cfg b/setup.cfg index 6d01c03..db60477 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,3 +5,7 @@ version = 3.0.0 [options] packages = PFERD python_requires = >=3.8 + +[options.entry_points] +console_scripts = + pferd = PFERD:main