Skip to content

Commit

Permalink
create setup.py
Browse files Browse the repository at this point in the history
new file:   setup.py
  • Loading branch information
wish13yt committed Oct 19, 2024
1 parent 1e2b86c commit 043ab79
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import requests
import os
print("We're installing LigmaBalls. Please wait!")
url = 'https://github.com/Freakybob-Team/lb/blob/main/lb.py?raw=true'
response = requests.get(url)
file_Path = "lb.py"
response = requests.get(url)
print("URL fetched...")
if response.status_code == 200:
print("Fetch successful")
with open(file_Path, 'wb') as file:
file.write(response.content)
print('File downloaded successfully')
os.remove("setup.py")
exec(open('lb.py').read())

0 comments on commit 043ab79

Please sign in to comment.