mirror of https://git.48k.eu/ogclient
rename main.py to ogclient
parent
87c2a6ae4b
commit
0ada33c695
2
setup.py
2
setup.py
|
|
@ -7,7 +7,7 @@ setup(name='ogclient',
|
||||||
author_email='soporte-og@soleta.eu',
|
author_email='soporte-og@soleta.eu',
|
||||||
url='https://github.com/opengnsys/ogClient',
|
url='https://github.com/opengnsys/ogClient',
|
||||||
packages=['src', 'src.linux', 'src.virtual'],
|
packages=['src', 'src.linux', 'src.virtual'],
|
||||||
scripts=['main.py'],
|
scripts=['ogclient'],
|
||||||
data_files=[('cfg', ['cfg/ogclient.json']),
|
data_files=[('cfg', ['cfg/ogclient.json']),
|
||||||
('', ['LICENSE'])]
|
('', ['LICENSE'])]
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ class Client():
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.null = open(os.devnull, 'wb')
|
self.null = open(os.devnull, 'wb')
|
||||||
self.proc = subprocess.Popen(['python3', 'main.py'],
|
self.proc = subprocess.Popen(['python3', 'ogclient'],
|
||||||
cwd='../',
|
cwd='../',
|
||||||
stdout=self.null,
|
stdout=self.null,
|
||||||
stderr=self.null)
|
stderr=self.null)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue