create setup.py
Some checks failed
Deploy static content to Pages / deploy (push) Waiting to run
Mirror to Disroot / disroot (push) Has been cancelled
Mirror to Codeberg / codeberg (push) Has been cancelled

new file:   setup.py
This commit is contained in:
Wish 2024-10-19 16:17:07 -05:00
parent 1e2b86c133
commit 043ab79732

15
setup.py Normal file
View file

@ -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())