Merge branch 'master' of https://github.com/oitsjustjose/Salmon-Run-Tidbyt-App
This commit is contained in:
commit
1508e352f7
3 changed files with 35 additions and 3 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -11,3 +11,6 @@ src/main.build/
|
||||||
src/main.dist/
|
src/main.dist/
|
||||||
src/main.onefile-build/
|
src/main.onefile-build/
|
||||||
src/main.exe
|
src/main.exe
|
||||||
|
Lib/
|
||||||
|
Scripts/
|
||||||
|
pyvenv.cfg
|
||||||
|
|
|
||||||
29
requirements.txt
Normal file
29
requirements.txt
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
async-generator==1.10
|
||||||
|
attrs==22.1.0
|
||||||
|
beautifulsoup4==4.11.1
|
||||||
|
certifi==2022.9.24
|
||||||
|
cffi==1.15.1
|
||||||
|
charset-normalizer==2.1.1
|
||||||
|
comtypes==1.1.14
|
||||||
|
exceptiongroup==1.0.1
|
||||||
|
h11==0.14.0
|
||||||
|
idna==3.4
|
||||||
|
outcome==1.2.0
|
||||||
|
Pillow==9.3.0
|
||||||
|
pycparser==2.21
|
||||||
|
PySocks==1.7.1
|
||||||
|
python-dateutil==2.8.2
|
||||||
|
pywin32==305
|
||||||
|
pywinauto==0.6.8
|
||||||
|
requests==2.28.1
|
||||||
|
selenium==4.6.0
|
||||||
|
six==1.16.0
|
||||||
|
sniffio==1.3.0
|
||||||
|
sortedcontainers==2.4.0
|
||||||
|
soupsieve==2.3.2.post1
|
||||||
|
trio==0.22.0
|
||||||
|
trio-websocket==0.9.2
|
||||||
|
urllib3==1.26.12
|
||||||
|
uuid==1.30
|
||||||
|
webptools==0.0.9
|
||||||
|
wsproto==1.2.0
|
||||||
|
|
@ -21,8 +21,8 @@ def update_template(template_path: str, out_path: str, replacers: dict):
|
||||||
replacers (dict): a Dict[str,str] whose keys are in the template,
|
replacers (dict): a Dict[str,str] whose keys are in the template,
|
||||||
and whose values will replace their keys in the template
|
and whose values will replace their keys in the template
|
||||||
"""
|
"""
|
||||||
if not os.path.exists("../out"):
|
if not os.path.exists(rel_to_abspath("../out")):
|
||||||
os.mkdir("../out")
|
os.mkdir(rel_to_abspath("../out"))
|
||||||
with open(template_path, "r", encoding="utf-8") as file_handle:
|
with open(template_path, "r", encoding="utf-8") as file_handle:
|
||||||
data = file_handle.read()
|
data = file_handle.read()
|
||||||
for key in replacers:
|
for key in replacers:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue