summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2020-06-26 11:04:32 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-06-26 11:04:32 +0200
commit0ada33c695b8ad5add42d6f39cdfd90ee99b6cf1 (patch)
tree36253c15be8c3887ca8643295993c5b4fe439783
parent87c2a6ae4b1ec7a05ac7f03cc47ca1fdf17b5a74 (diff)
rename main.py to ogclient
-rwxr-xr-xogclient (renamed from main.py)0
-rw-r--r--setup.py2
-rw-r--r--tests/units/client.py2
3 files changed, 2 insertions, 2 deletions
diff --git a/main.py b/ogclient
index d056703..d056703 100755
--- a/main.py
+++ b/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)