need to test on mac os
This commit is contained in:
@@ -11,3 +11,4 @@ utils/*.log
|
|||||||
out
|
out
|
||||||
lib
|
lib
|
||||||
appointment_*.log
|
appointment_*.log
|
||||||
|
./build
|
||||||
|
|||||||
+12
-7
@@ -24,24 +24,29 @@ pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
|
|||||||
exe = EXE(
|
exe = EXE(
|
||||||
pyz,
|
pyz,
|
||||||
a.scripts,
|
a.scripts,
|
||||||
a.binaries,
|
|
||||||
a.zipfiles,
|
|
||||||
a.datas,
|
|
||||||
[],
|
[],
|
||||||
|
exclude_binaries=True,
|
||||||
name='appointment',
|
name='appointment',
|
||||||
debug=True,
|
debug=False,
|
||||||
bootloader_ignore_signals=False,
|
bootloader_ignore_signals=False,
|
||||||
strip=False,
|
strip=False,
|
||||||
upx=True,
|
upx=True,
|
||||||
upx_exclude=[],
|
|
||||||
runtime_tmpdir=None,
|
|
||||||
console=False,
|
console=False,
|
||||||
disable_windowed_traceback=False,
|
disable_windowed_traceback=False,
|
||||||
argv_emulation=False,
|
argv_emulation=False,
|
||||||
target_arch=None,
|
target_arch=None,
|
||||||
codesign_identity=None,
|
codesign_identity=None,
|
||||||
entitlements_file=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
|
import shutil
|
||||||
shutil.copyfile('C:\\Users\\landd\\IdeaProjects\\appointment_tool\\appointment.json', '{0}/appointment.json'.format(DISTPATH))
|
shutil.copyfile('C:\\Users\\landd\\IdeaProjects\\appointment_tool\\appointment.json', '{0}/appointment.json'.format(DISTPATH))
|
||||||
|
|||||||
+3
-1
@@ -6,4 +6,6 @@ dataclasses~=0.6
|
|||||||
oci~=2.54.1
|
oci~=2.54.1
|
||||||
XlsxWriter~=3.0.3
|
XlsxWriter~=3.0.3
|
||||||
boto3~=1.21.13
|
boto3~=1.21.13
|
||||||
openpyxl==3.0.9
|
openpyxl==3.0.9
|
||||||
|
google-cloud-firestore==2.4.0
|
||||||
|
PySimpleGUI==4.60.0
|
||||||
@@ -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
|
|
||||||
@@ -151,7 +151,6 @@ class CommandorPage:
|
|||||||
message = self.page.content()
|
message = self.page.content()
|
||||||
if CONFIRMED_MESSAGE in message:
|
if CONFIRMED_MESSAGE in message:
|
||||||
# publish the successful 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.publish_message_to_queue(self.contact, PublishType.SUCCESS, self.page.url)
|
||||||
self.getErrors()
|
self.getErrors()
|
||||||
|
|
||||||
@@ -159,7 +158,6 @@ class CommandorPage:
|
|||||||
print("on_document_loaded called")
|
print("on_document_loaded called")
|
||||||
|
|
||||||
def _setPhoneCountryAndStore(self):
|
def _setPhoneCountryAndStore(self):
|
||||||
# document.getElementById("prefer").value = \"faubourg\";
|
|
||||||
try:
|
try:
|
||||||
if self.store_type == 0:
|
if self.store_type == 0:
|
||||||
self.page.evaluate("""()=>{
|
self.page.evaluate("""()=>{
|
||||||
|
|||||||
Reference in New Issue
Block a user