diff --git a/.github/workflows/Pipeline.yml b/.github/workflows/Pipeline.yml index de182e3..707b2de 100644 --- a/.github/workflows/Pipeline.yml +++ b/.github/workflows/Pipeline.yml @@ -274,5 +274,5 @@ jobs: - name: 🚧 Test pyF4PGA (PYTHONPATH) run: | - PYTHONPATH=$(pwd) python3 f4pga/__init__.py - PYTHONPATH=$(pwd) python3 f4pga/__init__.py -h + PYTHONPATH=$(pwd) python3 -m f4pga + PYTHONPATH=$(pwd) python3 -m f4pga -h diff --git a/f4pga/__init__.py b/f4pga/__main__.py similarity index 100% rename from f4pga/__init__.py rename to f4pga/__main__.py diff --git a/f4pga/setup.py b/f4pga/setup.py index c9e8416..44a5a8b 100644 --- a/f4pga/setup.py +++ b/f4pga/setup.py @@ -98,7 +98,7 @@ setuptools_setup( install_requires=list(set(get_requirements(requirementsFile))), entry_points={ "console_scripts": [ - "f4pga = f4pga.__init__:main", + "f4pga = f4pga.flows:main", # QuickLogic only f"ql_{sf} = {shwrappers}:ql", ]