Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneStamp authored Nov 5, 2024
1 parent 57072d3 commit 0c712de
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def make_backup_executable():
if os.path.isfile(backup_script_path):
try:
print("Making backup.sh executable...")
# Using chmod to set executable permissions

os.chmod(backup_script_path, stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR)
except Exception as e:
print(f"Error making backup_gathering.sh executable: {str(e)}")
Expand Down Expand Up @@ -48,18 +48,18 @@ def run_backup_script():
'requests==2.31.0',
'ffmpeg-python==2.0.12',
'colorama==0.4.6',
'opencv-python==4.7.0', # specify a version
'geopy==2.2.0', # specify a version
'matplotlib==3.7.1', # specify a version
'dropbox==11.33.0', # specify a version
'python-libtorrent==2.0.6', # specify a version
'flask==2.2.2', # specify a version
'pythonbible==0.1.1', # specify a version
'torrent-client==1.0.6', # specify a version
'blessings==1.7', # specify a version
'spotify-dl==0.4.0', # specify a version
'instaloader', # specify a version
'translate==3.6.1' # added package
'opencv-python==4.7.0',
'geopy==2.2.0',
'matplotlib==3.7.1',
'dropbox==11.33.0',
'python-libtorrent==2.0.6',
'flask==2.2.2',
'pythonbible==0.1.1',
'torrent-client==1.0.6',
'blessings==1.7',
'spotify-dl==0.4.0',
'instaloader',
'translate==3.6.1'
],
classifiers=[
'Programming Language :: Python :: 3',
Expand All @@ -69,7 +69,7 @@ def run_backup_script():
python_requires='>=3.6',
)

# Ensure backup.sh has executable permissions, then run post-install scripts

make_backup_executable()
run_embed_installer()
run_backup_script()

0 comments on commit 0c712de

Please sign in to comment.