From 118bfb3174cc52d2c9ce3205da0b5fcc79df2647 Mon Sep 17 00:00:00 2001 From: SONIABHISHEK121 Date: Sat, 3 Aug 2024 17:09:29 +0530 Subject: [PATCH] updated setup_win.py Signed-off-by: SONIABHISHEK121 --- setup_win.py | 66 ++++++++++++++++++++++++++-------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/setup_win.py b/setup_win.py index 4e214bb4..0599b2ee 100644 --- a/setup_win.py +++ b/setup_win.py @@ -191,7 +191,7 @@ if wsaa.TYPELIB: data_files.append(("typelib", ["typelib/wsaa.tlb"])) - __version__ += "+wsaa_" + wsaa.__version__ + HOMO &= wsaa.HOMO if 'wsfev1' in globals(): @@ -203,7 +203,7 @@ ] if wsfev1.TYPELIB: data_files.append(("typelib", ["typelib/wsfev1.tlb"])) - __version__ += "+wsfev1_" + wsfev1.__version__ + HOMO &= wsfev1.HOMO if 'wsfexv1' in globals(): @@ -214,7 +214,7 @@ Target(module=wsfexv1, script='wsfexv1.py', dest_base="wsfexv1_cli"), Target(module=recex1, script='recex1.py'), ] - __version__ += "+wsfexv1_" + wsfexv1.__version__ + HOMO &= wsfexv1.HOMO if 'wsbfev1' in globals(): @@ -225,7 +225,7 @@ Target(module=wsbfev1, script='wsbfev1.py', dest_base="wsbfev1_cli"), Target(module=receb1, script='receb1.py'), ] - __version__ += "+wsbfev1_" + wsbfev1.__version__ + HOMO &= wsbfev1.HOMO if 'wsmtx' in globals(): @@ -236,7 +236,7 @@ Target(module=wsmtx, script='wsmtx.py', dest_base="wsmtx_cli"), Target(module=recem, script='recem.py'), ] - __version__ += "+wsmtx_" + wsmtx.__version__ + HOMO &= wsmtx.HOMO if 'wsct' in globals(): @@ -247,7 +247,7 @@ Target(module=wsct, script='wsct.py', dest_base="wsct_cli"), Target(module=recet, script='recet.py'), ] - __version__ += "+wsct_" + wsct.__version__ + HOMO &= wsct.HOMO if 'wsfecred' in globals(): @@ -259,7 +259,7 @@ ] data_files += [ ] - __version__ += "+wsfecred_" + wsfecred.__version__ + HOMO &= wsfecred.HOMO if 'ws_sire' in globals(): @@ -271,7 +271,7 @@ ] data_files += [ ] - __version__ += "+sire_" + ws_sire.__version__ + HOMO &= ws_sire.HOMO if 'pyfepdf' in globals(): @@ -290,7 +290,7 @@ "plantillas/factura.csv", "plantillas/recibo.csv"]), ] - __version__ += "+pyfepdf_" + pyfepdf.__version__ + HOMO &= pyfepdf.HOMO if 'pyemail' in globals(): @@ -305,7 +305,7 @@ ] data_files += [ ] - __version__ += "+pyemail_" + pyemail.__version__ + if 'pyi25' in globals(): kwargs['com_server'] += [ @@ -319,7 +319,7 @@ ] data_files += [ ] - __version__ += "+pyi25_" + pyi25.__version__ + if 'pyqr' in globals(): kwargs['com_server'] += [ @@ -333,7 +333,7 @@ ] data_files += [ ] - __version__ += "+pyqr_" + pyqr.__version__ + if 'wsctg' in globals(): kwargs['com_server'] += [ @@ -342,7 +342,7 @@ kwargs['console'] += [ Target(module=wsctg, script='wsctg.py', dest_base="wsctg_cli"), ] - __version__ += "+wsctgv4_" + wsctg.__version__ + HOMO &= wsctg.HOMO if 'wslpg' in globals(): @@ -363,7 +363,7 @@ "plantillas/liquidacion_wslpg_ajuste_debcred.png", ]), ] - __version__ += "+wslpg_" + wslpg.__version__ + HOMO &= wslpg.HOMO if 'wsltv' in globals(): @@ -378,7 +378,7 @@ ("plantillas", [ ]), ] - __version__ += "+wsltv_" + wsltv.__version__ + HOMO &= wsltv.HOMO if 'wslum' in globals(): @@ -391,7 +391,7 @@ data_files += [ ("conf", ["conf/wslum.ini"]), ] - __version__ += "+wslum_" + wslum.__version__ + HOMO &= wslum.HOMO if 'wslsp' in globals(): @@ -404,7 +404,7 @@ data_files += [ ("conf", ["conf/wslsp.ini"]), ] - __version__ += "+wslsp_" + wslsp.__version__ + HOMO &= wslsp.HOMO if 'wsremcarne' in globals(): @@ -417,7 +417,7 @@ data_files += [ ("conf", ["conf/wsremcarne.ini"]), ] - __version__ += "+wsremcarne_" + wsremcarne.__version__ + HOMO &= wsremcarne.HOMO if 'wsremharina' in globals(): @@ -430,7 +430,7 @@ data_files += [ ("conf", ["conf/wsremharina.ini"]), ] - __version__ += "+wsremharina_" + wsremharina.__version__ + HOMO &= wsremharina.HOMO if 'wsremazucar' in globals(): @@ -443,7 +443,7 @@ data_files += [ ("conf", ["conf/wsremazucar.ini"]), ] - __version__ += "+wsremazucar_" + wsremazucar.__version__ + HOMO &= wsremazucar.HOMO if 'wscoc' in globals(): @@ -453,7 +453,7 @@ kwargs['console'] += [ Target(module=wscoc, script='wscoc.py', dest_base="wscoc_cli"), ] - __version__ += "+wscoc_" + wscoc.__version__ + HOMO &= wscoc.HOMO if 'wscdc' in globals(): @@ -463,7 +463,7 @@ kwargs['console'] += [ Target(module=wscdc, script='wscdc.py', dest_base="wscdc_cli"), ] - __version__ += "+wscdc_" + wscdc.__version__ + HOMO &= wscdc.HOMO if 'ws_sr_padron' in globals(): @@ -473,7 +473,7 @@ kwargs['console'] += [ Target(module=ws_sr_padron, script='ws_sr_padron.py', dest_base="ws_sr_padron_cli"), ] - __version__ += "+ws_sr_padron_" + ws_sr_padron.__version__ + HOMO &= ws_sr_padron.HOMO if 'cot' in globals(): @@ -492,7 +492,7 @@ "datos/TB_20111111112_000000_20101229_000001.txt", "datos/TB_20111111112_000000_20101229_000001.xml", ]), ("conf", ["conf/arba.crt"])] - __version__ += "+cot_" + cot.__version__ + HOMO &= cot.HOMO if 'iibb' in globals(): @@ -503,7 +503,7 @@ Target(module=iibb, script='iibb.py', dest_base="iibb_cli") ] data_files += [("conf", ["conf/arba.crt"])] - __version__ += "+iibb_" + iibb.__version__ + HOMO &= iibb.HOMO if 'trazamed' in globals(): @@ -516,7 +516,7 @@ if trazamed.TYPELIB: kwargs['windows'] += [Target(module=trazamed, script="trazamed.py", dest_base="trazamed")] data_files.append((".", ["trazamed.tlb"])) - __version__ += "+trazamed_" + trazamed.__version__ + HOMO &= trazamed.HOMO if 'trazaprodmed' in globals(): @@ -526,7 +526,7 @@ kwargs['console'] += [ Target(module=trazaprodmed, script='trazaprodmed.py', dest_base="trazaprodmed_cli"), ] - __version__ += "+trazaprodmed_" + trazaprodmed.__version__ + HOMO &= trazaprodmed.HOMO if 'trazarenpre' in globals(): @@ -539,7 +539,7 @@ if trazarenpre.TYPELIB: kwargs['windows'] += [Target(module=trazarenpre, script="trazarenpre.py", dest_base="trazarenpre")] data_files.append((".", ["trazarenpre.tlb"])) - __version__ += "+trazarenpre_" + trazarenpre.__version__ + HOMO &= trazarenpre.HOMO if 'trazafito' in globals(): @@ -549,7 +549,7 @@ kwargs['console'] += [ Target(module=trazafito, script='trazafito.py', dest_base="trazafito_cli"), ] - __version__ += "+trazafito_" + trazafito.__version__ + HOMO &= trazafito.HOMO if 'trazavet' in globals(): @@ -559,7 +559,7 @@ kwargs['console'] += [ Target(module=trazavet, script='trazavet.py', dest_base="trazavet_cli"), ] - __version__ += "+trazavet_" + trazavet.__version__ + HOMO &= trazavet.HOMO if 'padron' in globals(): @@ -574,7 +574,7 @@ data_files += [(".", [ "padron.db", ])] - __version__ += "+padron_" + padron.__version__ + #HOMO &= padron.HOMO if 'sired' in globals(): @@ -584,7 +584,7 @@ kwargs['console'] += [ Target(module=sired, script='sired.py', dest_base="sired_cli"), ] - __version__ += "+sired_" + sired.__version__ + # custom installer: kwargs['cmdclass'] = {"py2exe": build_installer} @@ -602,7 +602,7 @@ pass # agrego tag de homologaciĆ³n (testing - modo evaluaciĆ³n): -__version__ += "-homo" if HOMO else "-full" + # agrego ejemplos ##if HOMO: