diff --git a/owrxadmin/__main__.py b/owrxadmin/__main__.py new file mode 100644 index 0000000..65c4765 --- /dev/null +++ b/owrxadmin/__main__.py @@ -0,0 +1,2 @@ +def main(): + print("OpenWebRX admin") diff --git a/setup.py b/setup.py index 076750c..60519f1 100644 --- a/setup.py +++ b/setup.py @@ -22,10 +22,11 @@ setup( "owrx.form", "csdr", "htdocs", + "owrxadmin", ] ), package_data={"htdocs": [f[len("htdocs/") :] for f in glob("htdocs/**/*", recursive=True)]}, - entry_points={"console_scripts": ["openwebrx=owrx.__main__:main"]}, + entry_points={"console_scripts": ["openwebrx=owrx.__main__:main", "owrxadmin=owrxadmin.__main__:main"]}, url="https://www.openwebrx.de/", author="Jakob Ketterl", author_email="jakob.ketterl@gmx.de",