need to test on mac os

This commit is contained in:
2022-05-12 18:58:40 +02:00
parent 69fdafe9e6
commit 96b0f3bdb8
6 changed files with 17 additions and 12 deletions
+1
View File
@@ -11,3 +11,4 @@ utils/*.log
out
lib
appointment_*.log
./build
+12 -7
View File
@@ -24,24 +24,29 @@ pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
exe = EXE(
pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
[],
exclude_binaries=True,
name='appointment',
debug=True,
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=False,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
icon='C:\\Users\\landd\\IdeaProjects\\appointment_tool\\hermes-logo.ico'
)
coll = COLLECT(
exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='appointment',
)
import shutil
shutil.copyfile('C:\\Users\\landd\\IdeaProjects\\appointment_tool\\appointment.json', '{0}/appointment.json'.format(DISTPATH))
+2
View File
@@ -7,3 +7,5 @@ oci~=2.54.1
XlsxWriter~=3.0.3
boto3~=1.21.13
openpyxl==3.0.9
google-cloud-firestore==2.4.0
PySimpleGUI==4.60.0
+1
View File
@@ -0,0 +1 @@
.\venv\Scripts\python.exe appointment.py
-2
View File
@@ -1,2 +0,0 @@
#!/bin/zsh
/Users/panlei/Documents/worksapce/appointment_modem_pool/venv/bin/python3 /Users/panlei/Documents/worksapce/appointment_modem_pool/main.py
-2
View File
@@ -151,7 +151,6 @@ class CommandorPage:
message = self.page.content()
if CONFIRMED_MESSAGE in message:
# publish the successful message
self.logger.info("url is " + self.page.url)
self.publish_message_to_queue(self.contact, PublishType.SUCCESS, self.page.url)
self.getErrors()
@@ -159,7 +158,6 @@ class CommandorPage:
print("on_document_loaded called")
def _setPhoneCountryAndStore(self):
# document.getElementById("prefer").value = \"faubourg\";
try:
if self.store_type == 0:
self.page.evaluate("""()=>{