diff --git a/Makefile b/Makefile index 7e6a975..c690812 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,10 @@ DOCKER_RUN_TTY=docker run --interactive --tty -v $(shell pwd):/app $(DOCKER_NAME .ONESHELL: +# Run script +run: + python3 -m virtscreen + # Docker tools .PHONY: docker docker-build diff --git a/setup.py b/setup.py index a6b2abb..9db64e6 100644 --- a/setup.py +++ b/setup.py @@ -195,7 +195,7 @@ setup( # executes the function `main` from this package when invoked: entry_points={ # Optional 'console_scripts': [ - 'virtscreen = virtscreen.main:main', + 'virtscreen = virtscreen.__main__:main', ], }, diff --git a/virtscreen/main.py b/virtscreen/__main__.py similarity index 100% rename from virtscreen/main.py rename to virtscreen/__main__.py