Skip to content

Commit

Permalink
updated setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ibehii authored Jun 16, 2023
1 parent 9fba108 commit f2ad5e7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ def windows_installer():
)
if (copy_permission.lower() == 'yes' or copy_permission.lower() == 'y'):
shutil.copy( module_path, 'Rcolor.py')
return("It's done !")
print("It's done !")
else:
return('Copying failed.')
print('Copying failed.')

def linux_installer():

Expand All @@ -41,9 +41,9 @@ def linux_installer():
)
if (copy_permission.lower() == 'yes' or copy_permission.lower() == 'y'):
os.system(f'sudo cp -r Rcolor.py {module_path}')
return("It's done !")
print("It's done !")
else:
return('Copying failed.')
print('Copying failed.')

def installer():
# get operating system name
Expand All @@ -55,4 +55,4 @@ def installer():
linux_installer()

if __name__ == '__main__':
installer()
installer()

0 comments on commit f2ad5e7

Please sign in to comment.