Commit a6d13d07 by Csók Tamás

client: (linuxInstaller) some flake8 correction

parent 6f104177
#!/bin/bash
sudo apt-get install sshpass python-pip remmina-plugin-nx remmina-plugin-rdp xdg-user-dirs
sudo cp cloud2 /usr/local/bin/
sudo chmod +x /usr/local/bin/cloud2
sudo cp cloud.py /usr/local/bin/
sudo chmod +x /usr/local/bin/cloud.py
sudo cp cloud_connect_from_linux.py /usr/local/bin/
sudo chmod +x /usr/local/bin/cloud_connect_from_linux.py
sudo cp cloud.svg /usr/share/icons/
sudo cp cloud.desktop /usr/share/applications
sudo chmod +x /usr/share/applications/cloud.desktop
sudo update-desktop-database
cp cloud.desktop $(xdg-user-dir DESKTOP)
chmod +x $(xdg-user-dir DESKTOP)/cloud.desktop
remmina
\ No newline at end of file
......@@ -13,6 +13,7 @@ if version < '2.2.3':
compile_args = ['-DHAVE_LIBGCRYPT']
linker_args = []
def decide_options(arguments, compile_arguments, linker_arguments):
for argument in arguments:
if argument[:2] == '-l':
......@@ -20,6 +21,7 @@ def decide_options(arguments, compile_arguments, linker_arguments):
else:
compile_arguments.append(argument)
def list_output(cmd):
p = subprocess.Popen(
cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
......@@ -33,19 +35,21 @@ cmd = ['libgcrypt-config', '--libs', '--cflags']
decide_options(list_output(cmd), compile_args, linker_args)
remminapasswd = Extension('remminapasswd',
sources = ['remminapasswdmodule.c',
sources=['remminapasswdmodule.c',
'remmina_crypt.c',
'remmina_pref.c',
'remmina_string_array.c'],
extra_compile_args = compile_args,
extra_link_args = linker_args)
extra_compile_args=compile_args,
extra_link_args=linker_args)
setup(name='CIRCLE Client',
version='0.1',
description='Connectivity helper for CIRCLE cloud system',
long_description=('Tool to enhance ease of use of the CIRCLE by '
+'the use of third party connetcion handler programs. These programs '
+'are auto launched and configured by the Client.'),
long_description=(
'Tool to enhance ease of use of the CIRCLE by '
'the use of third party connetcion handler programs. '
'These programs are auto launched and '
'configured by the Client.'),
author='Csok Tamas',
author_email='csok.tamas@cloud.bme.hu',
maintainer='BME IK',
......@@ -58,7 +62,5 @@ setup(name='CIRCLE Client',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: System Administrators',
'Programming Language :: Python/C',
'Topic :: Office/Business',
],
ext_modules=[remminapasswd],
)
\ No newline at end of file
'Topic :: Office/Business'],
ext_modules=[remminapasswd])
#!/bin/bash
sudo rm -f /usr/local/bin/remminapasswd
sudo rm -f /usr/local/bin/cloud2
sudo rm -f /usr/local/bin/cloud.py
sudo rm -f /usr/local/bin/cloud_connect_from_linux.py
sudo rm -f /usr/share/icons/cloud.svg
rm -f $(xdg-user-dir DESKTOP)/cloud.desktop
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment