From 0ada33c695b8ad5add42d6f39cdfd90ee99b6cf1 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Fri, 26 Jun 2020 11:04:32 +0200 Subject: [PATCH] rename main.py to ogclient --- main.py => ogclient | 0 setup.py | 2 +- tests/units/client.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename main.py => ogclient (100%) diff --git a/main.py b/ogclient similarity index 100% rename from main.py rename to ogclient diff --git a/setup.py b/setup.py index 5d5330d..eeaf5ff 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup(name='ogclient', author_email='soporte-og@soleta.eu', url='https://github.com/opengnsys/ogClient', packages=['src', 'src.linux', 'src.virtual'], - scripts=['main.py'], + scripts=['ogclient'], data_files=[('cfg', ['cfg/ogclient.json']), ('', ['LICENSE'])] ) diff --git a/tests/units/client.py b/tests/units/client.py index 21cf21f..0b678dc 100644 --- a/tests/units/client.py +++ b/tests/units/client.py @@ -13,7 +13,7 @@ class Client(): def __init__(self): self.null = open(os.devnull, 'wb') - self.proc = subprocess.Popen(['python3', 'main.py'], + self.proc = subprocess.Popen(['python3', 'ogclient'], cwd='../', stdout=self.null, stderr=self.null)