From 78a210bf6d7201b5f3a9addd72c61a88f1e26dcf Mon Sep 17 00:00:00 2001 From: Vladimir Roncevic Date: Mon, 8 Jul 2024 20:12:29 +0200 Subject: [PATCH] [gen_gtkmm] Updated ATS CLI mechanism, docs --- README.md | 10 + docs/build/doctrees/environment.pickle | Bin 235570 -> 235571 bytes docs/build/doctrees/gen_gtkmm.doctree | Bin 29570 -> 29546 bytes docs/build/html/_modules/gen_gtkmm.html | 18 +- docs/build/html/_modules/gen_gtkmm/pro.html | 2 +- .../_modules/gen_gtkmm/pro/read_template.html | 3 +- .../gen_gtkmm/pro/write_template.html | 2 +- docs/build/html/gen_gtkmm.html | 2 +- docs/build/html/objects.inv | 2 +- docs/build/html/searchindex.js | 2 +- docs/source/conf.py | 2 +- gen_gtkmm/__init__.py | 18 +- gen_gtkmm/conf/gen_gtkmm.cfg | 2 +- gen_gtkmm/conf/template/Makefile.template | 2 +- gen_gtkmm/conf/template/ccflags.template | 2 +- gen_gtkmm/conf/template/ldflags.template | 2 +- gen_gtkmm/conf/template/objects.template | 2 +- gen_gtkmm/conf/template/sources.template | 2 +- gen_gtkmm/log/gen_gtkmm.log | 2 - gen_gtkmm/pro/__init__.py | 2 +- gen_gtkmm/pro/read_template.py | 3 +- gen_gtkmm/pro/write_template.py | 2 +- gen_gtkmm/run/gen_gtkmm_run.py | 2 +- setup.cfg | 2 +- setup.py | 4 +- tests/.coverage | Bin 53248 -> 53248 bytes tests/full_simple/build/Makefile | 4 +- tests/full_simple/build/ccflags.mk | 4 +- tests/full_simple/build/ldflags.mk | 4 +- tests/full_simple/build/objects.mk | 4 +- tests/full_simple/build/sources.mk | 4 +- tests/gen_gtkmm_coverage.json | 1 + tests/gen_gtkmm_coverage.xml | 294 ++++++++++++++++++ tests/gen_gtkmm_pro_test.py | 2 +- tests/gen_gtkmm_test.py | 12 +- tests/latest/build/Makefile | 4 +- tests/latest/build/ccflags.mk | 4 +- tests/latest/build/ldflags.mk | 4 +- tests/latest/build/objects.mk | 4 +- tests/latest/build/sources.mk | 4 +- tests/new_simple_test/build/Makefile | 4 +- tests/new_simple_test/build/ccflags.mk | 4 +- tests/new_simple_test/build/ldflags.mk | 4 +- tests/new_simple_test/build/objects.mk | 4 +- tests/new_simple_test/build/sources.mk | 4 +- tests/read_template_test.py | 2 +- tests/run_coverage.sh | 10 +- tests/write_template_test.py | 2 +- 48 files changed, 387 insertions(+), 86 deletions(-) create mode 100644 tests/gen_gtkmm_coverage.json create mode 100644 tests/gen_gtkmm_coverage.xml diff --git a/README.md b/README.md index ec940b1..0edcb34 100644 --- a/README.md +++ b/README.md @@ -136,6 +136,16 @@ Generator structure 6 directories, 19 files ``` +### Code coverage + +| Name | Stmts | Miss | Cover | +|------|-------|------|-------| +| `gen_gtkmm/__init__.py` | 71 | 12 | 83% | +| `gen_gtkmm/pro/__init__.py` | 59 | 2 | 97% | +| `gen_gtkmm/pro/read_template.py` | 54 | 2 | 96% | +| `gen_gtkmm/pro/write_template.py` | 72 | 4 | 94% | +| **Total** | 256 | 20 | 92% | + ### Docs [![Documentation Status](https://readthedocs.org/projects/gen-esp/badge/?version=latest)](https://gen-esp.readthedocs.io/en/latest/?badge=latest) diff --git a/docs/build/doctrees/environment.pickle b/docs/build/doctrees/environment.pickle index cdf2de9040d2647bba9a779a767ce4c777b8e316..bf8972d1b05e80307ec497d865aa6514d89fb861 100644 GIT binary patch delta 2672 zcmZ8jd2o}*71!<)7Lu_dVa(z9kZs8lKI97@KnG$&IASmcV`xLDsu;yc*pf$*hq!=j zlPQip4mh(4n`U6h#0`NoC5IZmcIXTyls^KKLX$utQ?L`eBq2a(60Qz~zFmC|ZT-i4 zzjy5Kz5Vv>%J02njJ;#jc1?Im^R707lJZy%z4vI6zS-k}a z&D-838LT&BPU>@1qv<#QnB;5=2AsiAIO^+W7c=a0Iz>3?VOWMD!m0QAH+Y_n=WZ8{ z#MZ!u_7+bl?&@OmG9N7y?7kgBbPLfVgrM|2FNEOn^$H;fe0@T6#riXKuu_Ejbdx&D z*9@g4$i;oS4|6M|B}n^pZ>_JCmZ0m?jr}QZ38Fro?Yp?uC9TH0XtA;ErFy}-E9&T9 z%8un#Pw)hTfgn3=t!INd8EnjEBafrMGO@*54^sJ*Gl z6AH1dxpvlS%SK-vd)~T?IrFmh1F}ct#_TG#%aO^x&t1XJI#$co?tDAz&dp|-wi>q8 zI*ASD)+gAU&LXFiA4|d$xt_b2{o9_TGKu{Orj3O*R+wjHHTE@3Fo=4%lGJ0D6)ex5 z$m;XWSf@s={h=TwA>7gC^*3YF>vZC?2$GBWIbv&)6Qou}&wuI`{4GUVl?5(j}=55R)Hs=32)zH-9b*h1(#;Wn0 z`;C7j5%z~Q{u$HV;gG96>}~Oey*L^V(_@R*uB($Z*t3HsRy0c=JM;SB3_kidx+Hew zXf@?qF3`l7?t_~a(#unWa)G*Rn_{@+!#dNf~#(vX;D>%ny0+Kn9NH zE891bJr?qutj#;N6BBO>5j|V}vRPT*Pfk((;3PFGvv-jJ6@K<2X`8DqP+T98&6%W= zzwM!Ek}l&KId5SX8d8)*BRx!+vc{}@Y@#(~(l>J<{Z$qV9ZgqGdFb&hcJG)`+0#Rt z7O)qtm=)70x{^v1{D>}(qcf*z@YBBZv-O zq8oUXK*hr}h%Fh1X*NGGOhbIfCG@Tvp#h#G)?6E*8<)sS`9%?aKzU`q6-Zv=djiSJ zt1m_*uk2KT#4YpXAZqW|h67EZ=(ecC7vXz9r&sy)DPUE8_XV9w1T^zcN9j2dQGPo{ zUypkf_hrgdIN>Y$dljDinqE=iiErqaame@mlTK4Uy+%J&Lx;YlBPztun3{!ar?QbZ zCi2lyJfP#>(*Wg@?GO-O!pcwFqD%OQ9os6oO;d<~X1?|gJu3!Iuaw`Vd*e=J^k4MX zY8(qC@s|74s2sRQ_p5Q&eJnZg0mlKuKknATRLS;!5bmidofPh<6gv~Z!f(`&1m%zx zPOEWrzCro%G)U(wZqZfZgi852JuKmGrelXS1_%-X&B}>H_(X*VlfXdZ-akJAS`}U} zLq6quKBrau?c20c9B>)mKLx4kFXLx;Fa>rH0VgYbDx6heWI80!xOaCd6jEM#i>C9D zG&srY?o%@_GC(r_OFA6p1$U`I*_i>jd5la}7FochLM02_D$L6Pp9=R|!5@b_Hy5t* zay^~^PS`a5vK^bsFo2b79dH=O_J{-K5vv%yT7#UrTD=^(+6i*rYPE9MY7=~2JUtH< zI7R0AsBa-&aJS4~j{{eigi~0L!XvXW-jOfjU3_OA zilD+GSbcs2ijGOhAC7iMedmm5Ua!z-aGU%Cv8J2fE`n-Qvx{K?s%^zkgKDT4=9BK- zB|`GYN+1Kb-njX{nk=u3H+iEB(y@$j7OGCAU>1}ENmQP$gdyNZ z{9xdNYaxYK&V^G(i?_8c5DZ)5zd5`+0MnJ?pFlE@ay};r&+s?rgGv1vQikS3s?M}J z*zPH?)CK$~1?D#wfz{*f3pm-X1IgRp*fZn zZSnMVb?#PAsLkEvS+6|t1dQplesn0st6(2VlxMOy5x-1C`K$rH)Tym0j;G)SW1f6f zw!qw?FOt4>T8Z&Hw-a delta 2578 zcmZWqeNa@_73baqEDHs9fhCcTU6ut_S$3DNN~%^Pph(uCfFjdI!7VNf3+&Qe2&9b* ztCJ8Y4Vb%noiR!6Ow81#M(svlo%BP}X*+4PCQWr}+Xx|6G&RFCA8I6%>ACMcbf$TK z+}}C(ckb`pk8|&fo=o}0$&}cUxC3#gVvRJVA~K-~czQhUpeHh6=hOSCBic%*vv^|) zHKt5xJ3YR(&i?M+-pE82FTFvs*k+@JjTu*Gj?kEx3H^QE(HHPL0>S=>cQ1R-Xk8r= zbn*jQriMkQw#&EMGo-}s6CFvt{@nvTo}khdX6sB@hpn()+AvgpPMi zG(x~TE}C$3!lZ#lL5*uZUH$m$t=aMN;Bn2yiXE~iM8`Fqx>nf}a^sqLu6ROdT+?z< z@xrp#aTz^!Ew4@^R3{@V*xObMn=7bfB}GYboeKzn;VFo?YfqkDwh3! zCt<0I^d68p!#UmbuU${gEwZ0VvT+nFr*#G zjUh4O+Y?#g)d3dRzu5HWCG2gV?Q|#kj#-tGE}Kc&lCG3fMH&q%!)u#}j_bA&?ZFbF zmyWlPC(_7>JT zeO@&e=4n)o3w=TjyvG3v(mOZld6hr$A9`Ko$Noz*_^bnBrRk68?^XWL0-aG!k5;xtWm13uQ_;co^X=dJ`1|s}azTqzYo2bG>$@DpWLFtq( z+@pt79y5K7Eq<9I?f-(lqSAF=VoEZ9z>bN8$mt!hs8U@N?x-V&;=#llYKTTU6bpY* zdF*_J^2I{%E5~(K3-$ahE96VILZR9`;9b>xJ{c0J(tCUv#H!|-dazMEWjq2O z$5Srnlj*RTzc-J^Dxbq*Is}REQ>Bp%xTKn$4?{dvdWSQ?PPtJlR&ax6^1ek{!5fZ~ zI8iEt{KX`7tGJW{XRs`NMmRx4cdF#fg*MeZVg|QrrdhzNnv?n9Q%t_B5N`3T+tja= z+z+g{+Fh}V_FGukFRy@gBwrMvD^adMmsT!6SDajXu2{M7T=7_S@kLPW5Rp40-Wt5` zZaID@-v0VzEXxLLJaRPhPuc_@=7U9G`-T`ZB?sZVDG!>GqaS!8TzI0$r@Y6o@`V?c z{#gY7CRpjy#ZW@_@{fzbhWFlR2Q%*dqjtzn5F;>OnD4g37L&*{CTAFvS1~3pVocT@ z!=Q_H*o1N!4salBbigWvryQ^b;g=35N4VvH3IwxL_L`k?$b=J&nEzELa`-|zVFN;5 z2~;C=lt2~2u@YF1a8rSmr8r=OZ!U!zgddecBf?B6G$E9gK^?+VWf&6Ths$tEAwE|I zTM<^3!xn^nk=xbV z=MVJfDt`(dUJDkfa4jSNso>7_@PzsckzQR7nHrwE5th?ER(@#{wV{+>2}pC{n% z@ACWHJ={HrPfB(zoTp#q?$*IdZN0nK6YO)hd!&lT;F>1R?z8Spw~HrEjUW(Xe2EOQNwMh3*+>DF=_EkCO3Ou~|U jA?Q@c_e#~zz-4`={LQ0W3mqVAh zBd^H@Rl}|DUP~ddq&U8`Br_+oBr~;G4`c$WNmEKQw6lIQGB8Y@C|0z&Pw`G50QOxh AumAu6 diff --git a/docs/build/html/_modules/gen_gtkmm.html b/docs/build/html/_modules/gen_gtkmm.html index 0a99dd1..613af91 100644 --- a/docs/build/html/_modules/gen_gtkmm.html +++ b/docs/build/html/_modules/gen_gtkmm.html @@ -59,7 +59,7 @@

Source code for gen_gtkmm

 '''
 
 import sys
-from typing import List, Dict
+from typing import List, Dict, Optional
 from os.path import exists, dirname, realpath
 from os import getcwd
 from argparse import Namespace
@@ -67,7 +67,7 @@ 

Source code for gen_gtkmm

 try:
     from ats_utilities.splash import Splash
     from ats_utilities.logging import ATSLogger
-    from ats_utilities.cli.cfg_cli import CfgCLI
+    from ats_utilities.cli import ATSCli
     from ats_utilities.console_io.error import error_message
     from ats_utilities.console_io.verbose import verbose_message
     from ats_utilities.console_io.success import success_message
@@ -82,7 +82,7 @@ 

Source code for gen_gtkmm

 __copyright__ = '(C) 2024, https://electux.github.io/gen_gtkmm'
 __credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation']
 __license__ = 'https://github.com/electux/gen_gtkmm/blob/dev/LICENSE'
-__version__ = '1.1.4'
+__version__ = '1.1.5'
 __maintainer__ = 'Vladimir Roncevic'
 __email__ = 'elektron.ronca@gmail.com'
 __status__ = 'Updated'
@@ -90,7 +90,7 @@ 

Source code for gen_gtkmm

 
 
[docs] -class GenGtkMM(CfgCLI): +class GenGtkMM(ATSCli): ''' Defines class GenGtkMM with attribute(s) and method(s). Loads a base info, creates a CLI interface and runs operations. @@ -138,9 +138,9 @@

Source code for gen_gtkmm

             verbose, [f'{self._GEN_VERBOSE.lower()} init tool info']
         )
         self._logger: ATSLogger = ATSLogger(
-            self._GEN_VERBOSE.lower(), f'{current_dir}{self._LOG}', verbose
+            self._GEN_VERBOSE.lower(), True, None, True, verbose
         )
-        if self.tool_operational:
+        if self.is_operational():
             self.add_new_option(
                 self._OPS[0], self._OPS[1], dest='name',
                 help='generate project (provide name)'
@@ -164,9 +164,9 @@ 

Source code for gen_gtkmm

             :exceptions: None
         '''
         status: bool = False
-        if self.tool_operational:
+        if self.is_operational():
             try:
-                args: Namespace = self.parse_args(sys.argv)
+                args: Optional[Namespace] = self.parse_args(sys.argv)
                 if not bool(getattr(args, "name")):
                     error_message(
                         [f'{self._GEN_VERBOSE.lower()} missing name argument']
@@ -209,7 +209,7 @@ 

Source code for gen_gtkmm

                     )
             except SystemExit:
                 error_message(
-                    [f'{self._GEN_VERBOSE.lower()} expected argument -n']
+                    [f'{self._GEN_VERBOSE.lower()} expected argument name']
                 )
                 return status
         else:
diff --git a/docs/build/html/_modules/gen_gtkmm/pro.html b/docs/build/html/_modules/gen_gtkmm/pro.html
index 15bb7e8..d41e440 100644
--- a/docs/build/html/_modules/gen_gtkmm/pro.html
+++ b/docs/build/html/_modules/gen_gtkmm/pro.html
@@ -81,7 +81,7 @@ 

Source code for gen_gtkmm.pro

 __copyright__ = '(C) 2024, https://electux.github.io/gen_gtkmm'
 __credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation']
 __license__ = 'https://github.com/electux/gen_gtkmm/blob/dev/LICENSE'
-__version__ = '1.1.4'
+__version__ = '1.1.5'
 __maintainer__ = 'Vladimir Roncevic'
 __email__ = 'elektron.ronca@gmail.com'
 __status__ = 'Updated'
diff --git a/docs/build/html/_modules/gen_gtkmm/pro/read_template.html b/docs/build/html/_modules/gen_gtkmm/pro/read_template.html
index b72c14a..9c60edd 100644
--- a/docs/build/html/_modules/gen_gtkmm/pro/read_template.html
+++ b/docs/build/html/_modules/gen_gtkmm/pro/read_template.html
@@ -79,11 +79,12 @@ 

Source code for gen_gtkmm.pro.read_template

 __copyright__ = '(C) 2024, https://electux.github.io/gen_gtkmm'
 __credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation']
 __license__ = 'https://github.com/electux/gen_gtkmm/blob/dev/LICENSE'
-__version__ = '1.1.4'
+__version__ = '1.1.5'
 __maintainer__ = 'Vladimir Roncevic'
 __email__ = 'elektron.ronca@gmail.com'
 __status__ = 'Updated'
 
+# Template list type
 Templates: TypeAlias = List[Dict[str, str]]
 
 
diff --git a/docs/build/html/_modules/gen_gtkmm/pro/write_template.html b/docs/build/html/_modules/gen_gtkmm/pro/write_template.html
index 1fb8b9c..92dc514 100644
--- a/docs/build/html/_modules/gen_gtkmm/pro/write_template.html
+++ b/docs/build/html/_modules/gen_gtkmm/pro/write_template.html
@@ -81,7 +81,7 @@ 

Source code for gen_gtkmm.pro.write_template

__copyright__ = '(C) 2024, https://electux.github.io/gen_gtkmm'
 __credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation']
 __license__ = 'https://github.com/electux/gen_gtkmm/blob/dev/LICENSE'
-__version__ = '1.1.4'
+__version__ = '1.1.5'
 __maintainer__ = 'Vladimir Roncevic'
 __email__ = 'elektron.ronca@gmail.com'
 __status__ = 'Updated'
diff --git a/docs/build/html/gen_gtkmm.html b/docs/build/html/gen_gtkmm.html
index 8943ccb..bae40ed 100644
--- a/docs/build/html/gen_gtkmm.html
+++ b/docs/build/html/gen_gtkmm.html
@@ -102,7 +102,7 @@ 

Subpackages
class gen_gtkmm.GenGtkMM(verbose: bool = False)[source]
-

Bases: CfgCLI

+

Bases: ATSCli

Defines class GenGtkMM with attribute(s) and method(s). Loads a base info, creates a CLI interface and runs operations.

It defines:

diff --git a/docs/build/html/objects.inv b/docs/build/html/objects.inv index f8387c8..c6d5b7b 100644 --- a/docs/build/html/objects.inv +++ b/docs/build/html/objects.inv @@ -1,6 +1,6 @@ # Sphinx inventory version 2 # Project: gen_gtkmm -# Version: 1.1.4 +# Version: 1.1.5 # The remainder of this file is compressed using zlib. xڵTR0-v0@uɤpVhw藘bó#sN9 PzGw v$ x]Ft$4tC趉fB_?.UĄdpgż-e"JW#Pݰ!,q..b&tʺ䐊mah ae1/fc ZrG:8`i޲=BQbzzP5ʮ!C<".+يflyX+Z/1`ō7Y$1{ V4; @9^"ޞ(n}hBdyQ14v+u j s=x/C]T9ϒ}J*+@@IITN4~"b^<'Uxz#[\g5x`Asw \ No newline at end of file diff --git a/docs/build/html/searchindex.js b/docs/build/html/searchindex.js index b26d97d..4aa1fe3 100644 --- a/docs/build/html/searchindex.js +++ b/docs/build/html/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["gen_gtkmm", "gen_gtkmm.pro", "gen_gtkmm.pro.read_template", "gen_gtkmm.pro.write_template", "index", "modules"], "filenames": ["gen_gtkmm.rst", "gen_gtkmm.pro.rst", "gen_gtkmm.pro.read_template.rst", "gen_gtkmm.pro.write_template.rst", "index.rst", "modules.rst"], "titles": ["gen_gtkmm package", "gen_gtkmm.pro package", "gen_gtkmm.pro.read_template module", "gen_gtkmm.pro.write_template module", "GTK\u2013 project skeleton generator", "gen_gtkmm"], "terms": {"pro": [0, 4, 5], "submodul": [0, 5], "read_templ": [0, 1, 4], "readtempl": [0, 1, 2], "write_templ": [0, 1, 4], "writetempl": [0, 1, 3], "gtkmmsetup": [0, 1], "_gen_verbos": [0, 1, 2, 3, 5], "_pro_structur": [0, 1], "gen_pro_setup": [0, 1], "get_read": [0, 1], "get_writ": [0, 1], "__init__": [0, 1, 2, 3, 4], "py": [0, 1, 2, 3, 4], "copyright": [0, 1, 2, 3], "c": [0, 1, 2, 3, 4], "2021": [0, 1, 2, 3, 4], "2024": [0, 1, 2, 3, 4], "vladimir": [0, 1, 2, 3], "roncev": [0, 1, 2, 3], "elektron": [0, 1, 2, 3], "ronca": [0, 1, 2, 3], "gmail": [0, 1, 2, 3], "com": [0, 1, 2, 3], "i": [0, 1, 2, 3, 4], "free": [0, 1, 2, 3, 4], "softwar": [0, 1, 2, 3, 4], "you": [0, 1, 2, 3, 4], "can": [0, 1, 2, 3, 4], "redistribut": [0, 1, 2, 3, 4], "modifi": [0, 1, 2, 3, 4], "under": [0, 1, 2, 3, 4], "term": [0, 1, 2, 3, 4], "gnu": [0, 1, 2, 3], "gener": [0, 1, 2, 3], "public": [0, 1, 2, 3], "licens": [0, 1, 2, 3], "publish": [0, 1, 2, 3], "foundat": [0, 1, 2, 3], "either": [0, 1, 2, 3, 4], "version": [0, 1, 2, 3, 4], "3": [0, 1, 2, 3, 4], "your": [0, 1, 2, 3, 4], "option": [0, 1, 2, 3, 4], "ani": [0, 1, 2, 3, 4], "later": [0, 1, 2, 3, 4], "distribut": [0, 1, 2, 3], "hope": [0, 1, 2, 3], "us": [0, 1, 2, 3, 4], "without": [0, 1, 2, 3], "warranti": [0, 1, 2, 3], "even": [0, 1, 2, 3], "impli": [0, 1, 2, 3], "merchant": [0, 1, 2, 3], "fit": [0, 1, 2, 3], "FOR": [0, 1, 2, 3], "A": [0, 1, 2, 3], "particular": [0, 1, 2, 3], "purpos": [0, 1, 2, 3], "see": [0, 1, 2, 3], "more": [0, 1, 2, 3], "detail": [0, 1, 2, 3], "should": [0, 1, 2, 3, 4], "have": [0, 1, 2, 3, 4], "receiv": [0, 1, 2, 3], "copi": [0, 1, 2, 3], "along": [0, 1, 2, 3], "thi": [0, 1, 2, 3], "program": [0, 1, 2, 3], "If": [0, 1, 2, 3], "http": [0, 1, 2, 3, 4], "www": [0, 1, 2, 3], "org": [0, 1, 2, 3], "info": [0, 1, 2, 3], "defin": [0, 1, 2, 3], "class": [0, 1, 2, 3], "gengtkmm": [0, 4, 5], "attribut": [0, 1, 2, 3], "": [0, 1, 2, 3, 4], "method": [0, 1, 2, 3], "load": 0, "base": [0, 1, 2, 3, 4], "creat": [0, 2, 3, 4], "cli": 0, "interfac": 0, "run": [0, 4], "oper": [0, 1], "verbos": [0, 1, 2, 3], "bool": [0, 1, 2, 3], "fals": [0, 1, 2, 3], "sourc": [0, 1, 2, 3, 4], "cfgcli": 0, "It": [0, 1, 2, 3], "consol": [0, 1, 2, 3], "text": [0, 1, 2, 3], "indic": [0, 1, 2, 3], "process": [0, 1, 2, 3, 5], "phase": [0, 1, 2, 3], "_config": [0, 5], "tool": 0, "file": [0, 2, 4], "path": [0, 2], "_log": [0, 5], "log": [0, 4], "_logo": [0, 5], "logo": [0, 4], "splash": 0, "screen": 0, "_op": [0, 5], "list": [0, 2, 3], "_logger": 0, "logger": 0, "object": [0, 1, 4], "api": [0, 1, 2, 3], "initi": [0, 1, 2, 3], "constructor": [0, 1, 2, 3], "str": [0, 1, 2, 3], "conf": [0, 1, 2, 4], "cfg": [0, 4], "n": 0, "name": [0, 1, 3], "v": 0, "paramet": [0, 1, 2, 3], "enabl": [0, 1, 2, 3], "disabl": [0, 1, 2, 3], "return": [0, 1, 2, 3], "true": [0, 1, 3], "success": [0, 1], "type": [0, 1, 2, 3, 4], "except": [0, 1, 2, 3], "none": [0, 1, 3, 4], "_template_dir": [1, 2], "read": [1, 2], "write": [1, 3], "gtkmm": 1, "project": [1, 2, 3], "structur": 1, "filecheck": [1, 2, 3], "proconfig": 1, "pronam": 1, "genesppro": 1, "setup": 1, "templat": [1, 2, 3, 4], "_reader": 1, "reader": 1, "_writer": 1, "writer": 1, "get": [1, 4], "gen_project": 1, "gtkmm_setup": 1, "yaml": [1, 4], "pro_nam": [1, 3], "autoconf": 1, "atstypeerror": [1, 2, 3], "atsvalueerror": [1, 2, 3], "an": [2, 3], "templatedir": 2, "template": 2, "prefix": 2, "config": 2, "dict": [2, 3], "configur": 2, "build": [3, 4], "written": 3, "gen_gtkmm": 4, "toolset": 4, "developmet": 4, "desktop": 4, "embed": 4, "applic": 4, "develop": 4, "python": 4, "code": 4, "100": 4, "The": 4, "readm": 4, "introduc": 4, "modul": [4, 5], "provid": 4, "instruct": 4, "how": 4, "machin": 4, "mai": 4, "other": 4, "inform": 4, "befor": 4, "ar": 4, "packag": [4, 5], "subpackag": [4, 5], "navig": 4, "releas": 4, "page": 4, "download": 4, "extract": 4, "archiv": 4, "To": 4, "follow": 4, "tar": 4, "xvzf": 4, "x": 4, "y": 4, "z": 4, "gz": 4, "cd": 4, "python3": 4, "wget": 4, "bootstrap": 4, "pypa": 4, "io": 4, "pip": 4, "m": 4, "upgrad": 4, "setuptool": 4, "pip3": 4, "r": 4, "requir": 4, "txt": 4, "isol": 4, "wheel": 4, "dist": 4, "py3": 4, "whl": 4, "rm": 4, "f": 4, "chmod": 4, "755": 4, "usr": 4, "local": 4, "lib": 4, "10": 4, "bin": 4, "gen_gtkmm_run": 4, "ln": 4, "docker": 4, "imag": 4, "contain": 4, "next": 4, "librari": 4, "ats": 4, "util": 4, "app": 4, "script": 4, "oop": 4, "gen_gtkmm_util": 4, "ccflag": 4, "header_modul": 4, "ldflag": 4, "main_modul": 4, "makefil": 4, "source_modul": 4, "6": 4, "directori": 4, "19": 4, "electux": 4, "github": 4, "same": 4, "itself": 4, "avail": 4, "let": 4, "help": 4, "support": 4, "psf": 4, "index": 4, "search": 4, "content": 5}, "objects": {"": [[0, 0, 0, "-", "gen_gtkmm"]], "gen_gtkmm": [[0, 1, 1, "", "GenGtkMM"], [1, 0, 0, "-", "pro"]], "gen_gtkmm.GenGtkMM": [[0, 2, 1, "", "_CONFIG"], [0, 2, 1, "", "_GEN_VERBOSE"], [0, 2, 1, "", "_LOG"], [0, 2, 1, "", "_LOGO"], [0, 2, 1, "", "_OPS"], [0, 3, 1, "", "process"]], "gen_gtkmm.pro": [[1, 1, 1, "", "GtkMMSetup"], [2, 0, 0, "-", "read_template"], [3, 0, 0, "-", "write_template"]], "gen_gtkmm.pro.GtkMMSetup": [[1, 2, 1, "", "_GEN_VERBOSE"], [1, 2, 1, "", "_PRO_STRUCTURE"], [1, 3, 1, "", "gen_pro_setup"], [1, 3, 1, "", "get_reader"], [1, 3, 1, "", "get_writer"]], "gen_gtkmm.pro.read_template": [[2, 1, 1, "", "ReadTemplate"]], "gen_gtkmm.pro.read_template.ReadTemplate": [[2, 2, 1, "", "_GEN_VERBOSE"], [2, 2, 1, "", "_TEMPLATE_DIR"], [2, 3, 1, "", "read"]], "gen_gtkmm.pro.write_template": [[3, 1, 1, "", "WriteTemplate"]], "gen_gtkmm.pro.write_template.WriteTemplate": [[3, 2, 1, "", "_GEN_VERBOSE"], [3, 3, 1, "", "write"]]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:attribute", "3": "py:method"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "attribute", "Python attribute"], "3": ["py", "method", "Python method"]}, "titleterms": {"gen_gtkmm": [0, 1, 2, 3, 5], "packag": [0, 1], "subpackag": 0, "modul": [0, 1, 2, 3], "content": [0, 1, 4], "pro": [1, 2, 3], "submodul": 1, "read_templ": 2, "write_templ": 3, "gtk": 4, "project": 4, "skeleton": 4, "gener": 4, "instal": 4, "depend": 4, "tool": 4, "structur": 4, "copyright": 4, "licenc": 4, "indic": 4, "tabl": 4}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.viewcode": 1, "sphinx": 60}, "alltitles": {"gen_gtkmm package": [[0, "gen-gtkmm-package"]], "Subpackages": [[0, "subpackages"]], "Module contents": [[0, "module-gen_gtkmm"], [1, "module-gen_gtkmm.pro"]], "gen_gtkmm.pro package": [[1, "gen-gtkmm-pro-package"]], "Submodules": [[1, "submodules"]], "gen_gtkmm.pro.read_template module": [[2, "module-gen_gtkmm.pro.read_template"]], "gen_gtkmm.pro.write_template module": [[3, "module-gen_gtkmm.pro.write_template"]], "GTK\u2013 project skeleton generator": [[4, "gtk-project-skeleton-generator"]], "Contents": [[4, null]], "Installation": [[4, "installation"]], "Dependencies": [[4, "dependencies"]], "Tool structure": [[4, "tool-structure"]], "Copyright and licence": [[4, "copyright-and-licence"]], "Indices and tables": [[4, "indices-and-tables"]], "gen_gtkmm": [[5, "gen-gtkmm"]]}, "indexentries": {"gengtkmm (class in gen_gtkmm)": [[0, "gen_gtkmm.GenGtkMM"]], "_config (gen_gtkmm.gengtkmm attribute)": [[0, "gen_gtkmm.GenGtkMM._CONFIG"]], "_gen_verbose (gen_gtkmm.gengtkmm attribute)": [[0, "gen_gtkmm.GenGtkMM._GEN_VERBOSE"]], "_log (gen_gtkmm.gengtkmm attribute)": [[0, "gen_gtkmm.GenGtkMM._LOG"]], "_logo (gen_gtkmm.gengtkmm attribute)": [[0, "gen_gtkmm.GenGtkMM._LOGO"]], "_ops (gen_gtkmm.gengtkmm attribute)": [[0, "gen_gtkmm.GenGtkMM._OPS"]], "gen_gtkmm": [[0, "module-gen_gtkmm"]], "module": [[0, "module-gen_gtkmm"], [1, "module-gen_gtkmm.pro"], [2, "module-gen_gtkmm.pro.read_template"], [3, "module-gen_gtkmm.pro.write_template"]], "process() (gen_gtkmm.gengtkmm method)": [[0, "gen_gtkmm.GenGtkMM.process"]], "gtkmmsetup (class in gen_gtkmm.pro)": [[1, "gen_gtkmm.pro.GtkMMSetup"]], "_gen_verbose (gen_gtkmm.pro.gtkmmsetup attribute)": [[1, "gen_gtkmm.pro.GtkMMSetup._GEN_VERBOSE"]], "_pro_structure (gen_gtkmm.pro.gtkmmsetup attribute)": [[1, "gen_gtkmm.pro.GtkMMSetup._PRO_STRUCTURE"]], "gen_gtkmm.pro": [[1, "module-gen_gtkmm.pro"]], "gen_pro_setup() (gen_gtkmm.pro.gtkmmsetup method)": [[1, "gen_gtkmm.pro.GtkMMSetup.gen_pro_setup"]], "get_reader() (gen_gtkmm.pro.gtkmmsetup method)": [[1, "gen_gtkmm.pro.GtkMMSetup.get_reader"]], "get_writer() (gen_gtkmm.pro.gtkmmsetup method)": [[1, "gen_gtkmm.pro.GtkMMSetup.get_writer"]], "readtemplate (class in gen_gtkmm.pro.read_template)": [[2, "gen_gtkmm.pro.read_template.ReadTemplate"]], "_gen_verbose (gen_gtkmm.pro.read_template.readtemplate attribute)": [[2, "gen_gtkmm.pro.read_template.ReadTemplate._GEN_VERBOSE"]], "_template_dir (gen_gtkmm.pro.read_template.readtemplate attribute)": [[2, "gen_gtkmm.pro.read_template.ReadTemplate._TEMPLATE_DIR"]], "gen_gtkmm.pro.read_template": [[2, "module-gen_gtkmm.pro.read_template"]], "read() (gen_gtkmm.pro.read_template.readtemplate method)": [[2, "gen_gtkmm.pro.read_template.ReadTemplate.read"]], "writetemplate (class in gen_gtkmm.pro.write_template)": [[3, "gen_gtkmm.pro.write_template.WriteTemplate"]], "_gen_verbose (gen_gtkmm.pro.write_template.writetemplate attribute)": [[3, "gen_gtkmm.pro.write_template.WriteTemplate._GEN_VERBOSE"]], "gen_gtkmm.pro.write_template": [[3, "module-gen_gtkmm.pro.write_template"]], "write() (gen_gtkmm.pro.write_template.writetemplate method)": [[3, "gen_gtkmm.pro.write_template.WriteTemplate.write"]]}}) \ No newline at end of file +Search.setIndex({"docnames": ["gen_gtkmm", "gen_gtkmm.pro", "gen_gtkmm.pro.read_template", "gen_gtkmm.pro.write_template", "index", "modules"], "filenames": ["gen_gtkmm.rst", "gen_gtkmm.pro.rst", "gen_gtkmm.pro.read_template.rst", "gen_gtkmm.pro.write_template.rst", "index.rst", "modules.rst"], "titles": ["gen_gtkmm package", "gen_gtkmm.pro package", "gen_gtkmm.pro.read_template module", "gen_gtkmm.pro.write_template module", "GTK\u2013 project skeleton generator", "gen_gtkmm"], "terms": {"pro": [0, 4, 5], "submodul": [0, 5], "read_templ": [0, 1, 4], "readtempl": [0, 1, 2], "write_templ": [0, 1, 4], "writetempl": [0, 1, 3], "gtkmmsetup": [0, 1], "_gen_verbos": [0, 1, 2, 3, 5], "_pro_structur": [0, 1], "gen_pro_setup": [0, 1], "get_read": [0, 1], "get_writ": [0, 1], "__init__": [0, 1, 2, 3, 4], "py": [0, 1, 2, 3, 4], "copyright": [0, 1, 2, 3], "c": [0, 1, 2, 3, 4], "2021": [0, 1, 2, 3, 4], "2024": [0, 1, 2, 3, 4], "vladimir": [0, 1, 2, 3], "roncev": [0, 1, 2, 3], "elektron": [0, 1, 2, 3], "ronca": [0, 1, 2, 3], "gmail": [0, 1, 2, 3], "com": [0, 1, 2, 3], "i": [0, 1, 2, 3, 4], "free": [0, 1, 2, 3, 4], "softwar": [0, 1, 2, 3, 4], "you": [0, 1, 2, 3, 4], "can": [0, 1, 2, 3, 4], "redistribut": [0, 1, 2, 3, 4], "modifi": [0, 1, 2, 3, 4], "under": [0, 1, 2, 3, 4], "term": [0, 1, 2, 3, 4], "gnu": [0, 1, 2, 3], "gener": [0, 1, 2, 3], "public": [0, 1, 2, 3], "licens": [0, 1, 2, 3], "publish": [0, 1, 2, 3], "foundat": [0, 1, 2, 3], "either": [0, 1, 2, 3, 4], "version": [0, 1, 2, 3, 4], "3": [0, 1, 2, 3, 4], "your": [0, 1, 2, 3, 4], "option": [0, 1, 2, 3, 4], "ani": [0, 1, 2, 3, 4], "later": [0, 1, 2, 3, 4], "distribut": [0, 1, 2, 3], "hope": [0, 1, 2, 3], "us": [0, 1, 2, 3, 4], "without": [0, 1, 2, 3], "warranti": [0, 1, 2, 3], "even": [0, 1, 2, 3], "impli": [0, 1, 2, 3], "merchant": [0, 1, 2, 3], "fit": [0, 1, 2, 3], "FOR": [0, 1, 2, 3], "A": [0, 1, 2, 3], "particular": [0, 1, 2, 3], "purpos": [0, 1, 2, 3], "see": [0, 1, 2, 3], "more": [0, 1, 2, 3], "detail": [0, 1, 2, 3], "should": [0, 1, 2, 3, 4], "have": [0, 1, 2, 3, 4], "receiv": [0, 1, 2, 3], "copi": [0, 1, 2, 3], "along": [0, 1, 2, 3], "thi": [0, 1, 2, 3], "program": [0, 1, 2, 3], "If": [0, 1, 2, 3], "http": [0, 1, 2, 3, 4], "www": [0, 1, 2, 3], "org": [0, 1, 2, 3], "info": [0, 1, 2, 3], "defin": [0, 1, 2, 3], "class": [0, 1, 2, 3], "gengtkmm": [0, 4, 5], "attribut": [0, 1, 2, 3], "": [0, 1, 2, 3, 4], "method": [0, 1, 2, 3], "load": 0, "base": [0, 1, 2, 3, 4], "creat": [0, 2, 3, 4], "cli": 0, "interfac": 0, "run": [0, 4], "oper": [0, 1], "verbos": [0, 1, 2, 3], "bool": [0, 1, 2, 3], "fals": [0, 1, 2, 3], "sourc": [0, 1, 2, 3, 4], "atscli": 0, "It": [0, 1, 2, 3], "consol": [0, 1, 2, 3], "text": [0, 1, 2, 3], "indic": [0, 1, 2, 3], "process": [0, 1, 2, 3, 5], "phase": [0, 1, 2, 3], "_config": [0, 5], "tool": 0, "file": [0, 2, 4], "path": [0, 2], "_log": [0, 5], "log": [0, 4], "_logo": [0, 5], "logo": [0, 4], "splash": 0, "screen": 0, "_op": [0, 5], "list": [0, 2, 3], "_logger": 0, "logger": 0, "object": [0, 1, 4], "api": [0, 1, 2, 3], "initi": [0, 1, 2, 3], "constructor": [0, 1, 2, 3], "str": [0, 1, 2, 3], "conf": [0, 1, 2, 4], "cfg": [0, 4], "n": 0, "name": [0, 1, 3], "v": 0, "paramet": [0, 1, 2, 3], "enabl": [0, 1, 2, 3], "disabl": [0, 1, 2, 3], "return": [0, 1, 2, 3], "true": [0, 1, 3], "success": [0, 1], "type": [0, 1, 2, 3, 4], "except": [0, 1, 2, 3], "none": [0, 1, 3, 4], "_template_dir": [1, 2], "read": [1, 2], "write": [1, 3], "gtkmm": 1, "project": [1, 2, 3], "structur": 1, "filecheck": [1, 2, 3], "proconfig": 1, "pronam": 1, "genesppro": 1, "setup": 1, "templat": [1, 2, 3, 4], "_reader": 1, "reader": 1, "_writer": 1, "writer": 1, "get": [1, 4], "gen_project": 1, "gtkmm_setup": 1, "yaml": [1, 4], "pro_nam": [1, 3], "autoconf": 1, "atstypeerror": [1, 2, 3], "atsvalueerror": [1, 2, 3], "an": [2, 3], "templatedir": 2, "template": 2, "prefix": 2, "config": 2, "dict": [2, 3], "configur": 2, "build": [3, 4], "written": 3, "gen_gtkmm": 4, "toolset": 4, "developmet": 4, "desktop": 4, "embed": 4, "applic": 4, "develop": 4, "python": 4, "code": 4, "100": 4, "The": 4, "readm": 4, "introduc": 4, "modul": [4, 5], "provid": 4, "instruct": 4, "how": 4, "machin": 4, "mai": 4, "other": 4, "inform": 4, "befor": 4, "ar": 4, "packag": [4, 5], "subpackag": [4, 5], "navig": 4, "releas": 4, "page": 4, "download": 4, "extract": 4, "archiv": 4, "To": 4, "follow": 4, "tar": 4, "xvzf": 4, "x": 4, "y": 4, "z": 4, "gz": 4, "cd": 4, "python3": 4, "wget": 4, "bootstrap": 4, "pypa": 4, "io": 4, "pip": 4, "m": 4, "upgrad": 4, "setuptool": 4, "pip3": 4, "r": 4, "requir": 4, "txt": 4, "isol": 4, "wheel": 4, "dist": 4, "py3": 4, "whl": 4, "rm": 4, "f": 4, "chmod": 4, "755": 4, "usr": 4, "local": 4, "lib": 4, "10": 4, "bin": 4, "gen_gtkmm_run": 4, "ln": 4, "docker": 4, "imag": 4, "contain": 4, "next": 4, "librari": 4, "ats": 4, "util": 4, "app": 4, "script": 4, "oop": 4, "gen_gtkmm_util": 4, "ccflag": 4, "header_modul": 4, "ldflag": 4, "main_modul": 4, "makefil": 4, "source_modul": 4, "6": 4, "directori": 4, "19": 4, "electux": 4, "github": 4, "same": 4, "itself": 4, "avail": 4, "let": 4, "help": 4, "support": 4, "psf": 4, "index": 4, "search": 4, "content": 5}, "objects": {"": [[0, 0, 0, "-", "gen_gtkmm"]], "gen_gtkmm": [[0, 1, 1, "", "GenGtkMM"], [1, 0, 0, "-", "pro"]], "gen_gtkmm.GenGtkMM": [[0, 2, 1, "", "_CONFIG"], [0, 2, 1, "", "_GEN_VERBOSE"], [0, 2, 1, "", "_LOG"], [0, 2, 1, "", "_LOGO"], [0, 2, 1, "", "_OPS"], [0, 3, 1, "", "process"]], "gen_gtkmm.pro": [[1, 1, 1, "", "GtkMMSetup"], [2, 0, 0, "-", "read_template"], [3, 0, 0, "-", "write_template"]], "gen_gtkmm.pro.GtkMMSetup": [[1, 2, 1, "", "_GEN_VERBOSE"], [1, 2, 1, "", "_PRO_STRUCTURE"], [1, 3, 1, "", "gen_pro_setup"], [1, 3, 1, "", "get_reader"], [1, 3, 1, "", "get_writer"]], "gen_gtkmm.pro.read_template": [[2, 1, 1, "", "ReadTemplate"]], "gen_gtkmm.pro.read_template.ReadTemplate": [[2, 2, 1, "", "_GEN_VERBOSE"], [2, 2, 1, "", "_TEMPLATE_DIR"], [2, 3, 1, "", "read"]], "gen_gtkmm.pro.write_template": [[3, 1, 1, "", "WriteTemplate"]], "gen_gtkmm.pro.write_template.WriteTemplate": [[3, 2, 1, "", "_GEN_VERBOSE"], [3, 3, 1, "", "write"]]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:attribute", "3": "py:method"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "attribute", "Python attribute"], "3": ["py", "method", "Python method"]}, "titleterms": {"gen_gtkmm": [0, 1, 2, 3, 5], "packag": [0, 1], "subpackag": 0, "modul": [0, 1, 2, 3], "content": [0, 1, 4], "pro": [1, 2, 3], "submodul": 1, "read_templ": 2, "write_templ": 3, "gtk": 4, "project": 4, "skeleton": 4, "gener": 4, "instal": 4, "depend": 4, "tool": 4, "structur": 4, "copyright": 4, "licenc": 4, "indic": 4, "tabl": 4}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.viewcode": 1, "sphinx": 60}, "alltitles": {"gen_gtkmm package": [[0, "gen-gtkmm-package"]], "Subpackages": [[0, "subpackages"]], "Module contents": [[0, "module-gen_gtkmm"], [1, "module-gen_gtkmm.pro"]], "gen_gtkmm.pro package": [[1, "gen-gtkmm-pro-package"]], "Submodules": [[1, "submodules"]], "gen_gtkmm.pro.read_template module": [[2, "module-gen_gtkmm.pro.read_template"]], "gen_gtkmm.pro.write_template module": [[3, "module-gen_gtkmm.pro.write_template"]], "GTK\u2013 project skeleton generator": [[4, "gtk-project-skeleton-generator"]], "Contents": [[4, null]], "Installation": [[4, "installation"]], "Dependencies": [[4, "dependencies"]], "Tool structure": [[4, "tool-structure"]], "Copyright and licence": [[4, "copyright-and-licence"]], "Indices and tables": [[4, "indices-and-tables"]], "gen_gtkmm": [[5, "gen-gtkmm"]]}, "indexentries": {"gengtkmm (class in gen_gtkmm)": [[0, "gen_gtkmm.GenGtkMM"]], "_config (gen_gtkmm.gengtkmm attribute)": [[0, "gen_gtkmm.GenGtkMM._CONFIG"]], "_gen_verbose (gen_gtkmm.gengtkmm attribute)": [[0, "gen_gtkmm.GenGtkMM._GEN_VERBOSE"]], "_log (gen_gtkmm.gengtkmm attribute)": [[0, "gen_gtkmm.GenGtkMM._LOG"]], "_logo (gen_gtkmm.gengtkmm attribute)": [[0, "gen_gtkmm.GenGtkMM._LOGO"]], "_ops (gen_gtkmm.gengtkmm attribute)": [[0, "gen_gtkmm.GenGtkMM._OPS"]], "gen_gtkmm": [[0, "module-gen_gtkmm"]], "module": [[0, "module-gen_gtkmm"], [1, "module-gen_gtkmm.pro"], [2, "module-gen_gtkmm.pro.read_template"], [3, "module-gen_gtkmm.pro.write_template"]], "process() (gen_gtkmm.gengtkmm method)": [[0, "gen_gtkmm.GenGtkMM.process"]], "gtkmmsetup (class in gen_gtkmm.pro)": [[1, "gen_gtkmm.pro.GtkMMSetup"]], "_gen_verbose (gen_gtkmm.pro.gtkmmsetup attribute)": [[1, "gen_gtkmm.pro.GtkMMSetup._GEN_VERBOSE"]], "_pro_structure (gen_gtkmm.pro.gtkmmsetup attribute)": [[1, "gen_gtkmm.pro.GtkMMSetup._PRO_STRUCTURE"]], "gen_gtkmm.pro": [[1, "module-gen_gtkmm.pro"]], "gen_pro_setup() (gen_gtkmm.pro.gtkmmsetup method)": [[1, "gen_gtkmm.pro.GtkMMSetup.gen_pro_setup"]], "get_reader() (gen_gtkmm.pro.gtkmmsetup method)": [[1, "gen_gtkmm.pro.GtkMMSetup.get_reader"]], "get_writer() (gen_gtkmm.pro.gtkmmsetup method)": [[1, "gen_gtkmm.pro.GtkMMSetup.get_writer"]], "readtemplate (class in gen_gtkmm.pro.read_template)": [[2, "gen_gtkmm.pro.read_template.ReadTemplate"]], "_gen_verbose (gen_gtkmm.pro.read_template.readtemplate attribute)": [[2, "gen_gtkmm.pro.read_template.ReadTemplate._GEN_VERBOSE"]], "_template_dir (gen_gtkmm.pro.read_template.readtemplate attribute)": [[2, "gen_gtkmm.pro.read_template.ReadTemplate._TEMPLATE_DIR"]], "gen_gtkmm.pro.read_template": [[2, "module-gen_gtkmm.pro.read_template"]], "read() (gen_gtkmm.pro.read_template.readtemplate method)": [[2, "gen_gtkmm.pro.read_template.ReadTemplate.read"]], "writetemplate (class in gen_gtkmm.pro.write_template)": [[3, "gen_gtkmm.pro.write_template.WriteTemplate"]], "_gen_verbose (gen_gtkmm.pro.write_template.writetemplate attribute)": [[3, "gen_gtkmm.pro.write_template.WriteTemplate._GEN_VERBOSE"]], "gen_gtkmm.pro.write_template": [[3, "module-gen_gtkmm.pro.write_template"]], "write() (gen_gtkmm.pro.write_template.writetemplate method)": [[3, "gen_gtkmm.pro.write_template.WriteTemplate.write"]]}}) \ No newline at end of file diff --git a/docs/source/conf.py b/docs/source/conf.py index 09fa5f2..d078411 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -29,7 +29,7 @@ project: str = 'gen_gtkmm' project_copyright: str = '2024, Vladimir Roncevic ' author: str = 'Vladimir Roncevic ' -version: str = '1.1.4' +version: str = '1.1.5' release: str = 'https://github.com/electux/gen_gtkmm/releases' extensions: List[str] = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode'] templates_path: List[str] = ['_templates'] diff --git a/gen_gtkmm/__init__.py b/gen_gtkmm/__init__.py index f3d37d5..4bcac29 100755 --- a/gen_gtkmm/__init__.py +++ b/gen_gtkmm/__init__.py @@ -21,7 +21,7 @@ ''' import sys -from typing import List, Dict +from typing import List, Dict, Optional from os.path import exists, dirname, realpath from os import getcwd from argparse import Namespace @@ -29,7 +29,7 @@ try: from ats_utilities.splash import Splash from ats_utilities.logging import ATSLogger - from ats_utilities.cli.cfg_cli import CfgCLI + from ats_utilities.cli import ATSCli from ats_utilities.console_io.error import error_message from ats_utilities.console_io.verbose import verbose_message from ats_utilities.console_io.success import success_message @@ -44,13 +44,13 @@ __copyright__ = '(C) 2024, https://electux.github.io/gen_gtkmm' __credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation'] __license__ = 'https://github.com/electux/gen_gtkmm/blob/dev/LICENSE' -__version__ = '1.1.4' +__version__ = '1.1.5' __maintainer__ = 'Vladimir Roncevic' __email__ = 'elektron.ronca@gmail.com' __status__ = 'Updated' -class GenGtkMM(CfgCLI): +class GenGtkMM(ATSCli): ''' Defines class GenGtkMM with attribute(s) and method(s). Loads a base info, creates a CLI interface and runs operations. @@ -98,9 +98,9 @@ def __init__(self, verbose: bool = False) -> None: verbose, [f'{self._GEN_VERBOSE.lower()} init tool info'] ) self._logger: ATSLogger = ATSLogger( - self._GEN_VERBOSE.lower(), f'{current_dir}{self._LOG}', verbose + self._GEN_VERBOSE.lower(), True, None, True, verbose ) - if self.tool_operational: + if self.is_operational(): self.add_new_option( self._OPS[0], self._OPS[1], dest='name', help='generate project (provide name)' @@ -122,9 +122,9 @@ def process(self, verbose: bool = False) -> bool: :exceptions: None ''' status: bool = False - if self.tool_operational: + if self.is_operational(): try: - args: Namespace = self.parse_args(sys.argv) + args: Optional[Namespace] = self.parse_args(sys.argv) if not bool(getattr(args, "name")): error_message( [f'{self._GEN_VERBOSE.lower()} missing name argument'] @@ -167,7 +167,7 @@ def process(self, verbose: bool = False) -> bool: ) except SystemExit: error_message( - [f'{self._GEN_VERBOSE.lower()} expected argument -n'] + [f'{self._GEN_VERBOSE.lower()} expected argument name'] ) return status else: diff --git a/gen_gtkmm/conf/gen_gtkmm.cfg b/gen_gtkmm/conf/gen_gtkmm.cfg index 398920f..baa9565 100755 --- a/gen_gtkmm/conf/gen_gtkmm.cfg +++ b/gen_gtkmm/conf/gen_gtkmm.cfg @@ -1,4 +1,4 @@ ats_name = gen_gtkmm -ats_version = 1.1.4 +ats_version = 1.1.5 ats_build_date = 08 Nov 2021 ats_licence = https://github.com/electux/gen_gtkmm/blob/dev/LICENSE diff --git a/gen_gtkmm/conf/template/Makefile.template b/gen_gtkmm/conf/template/Makefile.template index a5690ab..65f7c76 100644 --- a/gen_gtkmm/conf/template/Makefile.template +++ b/gen_gtkmm/conf/template/Makefile.template @@ -1,6 +1,6 @@ # # @brief ${PRO} -# @version 1.1.4 +# @version 1.1.5 # @date ${DATE} # @company None, free software to use ${YEAR} # @author Vladimir Roncevic diff --git a/gen_gtkmm/conf/template/ccflags.template b/gen_gtkmm/conf/template/ccflags.template index 6230e7c..6d756f8 100644 --- a/gen_gtkmm/conf/template/ccflags.template +++ b/gen_gtkmm/conf/template/ccflags.template @@ -1,6 +1,6 @@ # # @brief ${PRO} -# @version 1.1.4 +# @version 1.1.5 # @date ${DATE} # @company None, free software to use ${YEAR} # @author Vladimir Roncevic diff --git a/gen_gtkmm/conf/template/ldflags.template b/gen_gtkmm/conf/template/ldflags.template index f67c026..ae14e54 100644 --- a/gen_gtkmm/conf/template/ldflags.template +++ b/gen_gtkmm/conf/template/ldflags.template @@ -1,6 +1,6 @@ # # @brief ${PRO} -# @version 1.1.4 +# @version 1.1.5 # @date ${DATE} # @company None, free software to use ${YEAR} # @author Vladimir Roncevic diff --git a/gen_gtkmm/conf/template/objects.template b/gen_gtkmm/conf/template/objects.template index 839d53e..9fef07e 100644 --- a/gen_gtkmm/conf/template/objects.template +++ b/gen_gtkmm/conf/template/objects.template @@ -1,6 +1,6 @@ # # @brief ${PRO} -# @version 1.1.4 +# @version 1.1.5 # @date ${DATE} # @company None, free software to use ${YEAR} # @author Vladimir Roncevic diff --git a/gen_gtkmm/conf/template/sources.template b/gen_gtkmm/conf/template/sources.template index 62f0271..a41955b 100644 --- a/gen_gtkmm/conf/template/sources.template +++ b/gen_gtkmm/conf/template/sources.template @@ -1,6 +1,6 @@ # # @brief ${PRO} -# @version 1.1.4 +# @version 1.1.5 # @date ${DATE} # @company None, free software to use ${YEAR} # @author Vladimir Roncevic diff --git a/gen_gtkmm/log/gen_gtkmm.log b/gen_gtkmm/log/gen_gtkmm.log index 190244a..e69de29 100755 --- a/gen_gtkmm/log/gen_gtkmm.log +++ b/gen_gtkmm/log/gen_gtkmm.log @@ -1,2 +0,0 @@ -07/03/2024 11:43:03 PM - INFO - generation latest done -07/03/2024 11:43:04 PM - ERROR - tool is not operational diff --git a/gen_gtkmm/pro/__init__.py b/gen_gtkmm/pro/__init__.py index 4499579..5855927 100755 --- a/gen_gtkmm/pro/__init__.py +++ b/gen_gtkmm/pro/__init__.py @@ -42,7 +42,7 @@ __copyright__ = '(C) 2024, https://electux.github.io/gen_gtkmm' __credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation'] __license__ = 'https://github.com/electux/gen_gtkmm/blob/dev/LICENSE' -__version__ = '1.1.4' +__version__ = '1.1.5' __maintainer__ = 'Vladimir Roncevic' __email__ = 'elektron.ronca@gmail.com' __status__ = 'Updated' diff --git a/gen_gtkmm/pro/read_template.py b/gen_gtkmm/pro/read_template.py index 8bb3e4e..48b1ecc 100755 --- a/gen_gtkmm/pro/read_template.py +++ b/gen_gtkmm/pro/read_template.py @@ -39,11 +39,12 @@ __copyright__ = '(C) 2024, https://electux.github.io/gen_gtkmm' __credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation'] __license__ = 'https://github.com/electux/gen_gtkmm/blob/dev/LICENSE' -__version__ = '1.1.4' +__version__ = '1.1.5' __maintainer__ = 'Vladimir Roncevic' __email__ = 'elektron.ronca@gmail.com' __status__ = 'Updated' +# Template list type Templates: TypeAlias = List[Dict[str, str]] diff --git a/gen_gtkmm/pro/write_template.py b/gen_gtkmm/pro/write_template.py index 6434139..c816d1b 100755 --- a/gen_gtkmm/pro/write_template.py +++ b/gen_gtkmm/pro/write_template.py @@ -41,7 +41,7 @@ __copyright__ = '(C) 2024, https://electux.github.io/gen_gtkmm' __credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation'] __license__ = 'https://github.com/electux/gen_gtkmm/blob/dev/LICENSE' -__version__ = '1.1.4' +__version__ = '1.1.5' __maintainer__ = 'Vladimir Roncevic' __email__ = 'elektron.ronca@gmail.com' __status__ = 'Updated' diff --git a/gen_gtkmm/run/gen_gtkmm_run.py b/gen_gtkmm/run/gen_gtkmm_run.py index d39f96e..5716e03 100755 --- a/gen_gtkmm/run/gen_gtkmm_run.py +++ b/gen_gtkmm/run/gen_gtkmm_run.py @@ -33,7 +33,7 @@ __copyright__ = '(C) 2024, https://electux.github.io/gen_gtkmm' __credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation'] __license__ = 'https://github.com/electux/gen_gtkmm/blob/dev/LICENSE' -__version__ = '1.1.4' +__version__ = '1.1.5' __maintainer__ = 'Vladimir Roncevic' __email__ = 'elektron.ronca@gmail.com' __status__ = 'Updated' diff --git a/setup.cfg b/setup.cfg index b833c93..fee652a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -19,7 +19,7 @@ [metadata] name = gen_gtkmm -version = 1.1.4 +version = 1.1.5 author = Vladimir Roncevic author_email = elektron.ronca@gmail.com description = GTK-- project generator diff --git a/setup.py b/setup.py index f24ec10..85f5c82 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ __copyright__ = '(C) 2024, https://electux.github.io/gen_gtkmm' __credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation'] __license__ = 'https://github.com/electux/gen_gtkmm/blob/dev/LICENSE' -__version__ = '1.1.4' +__version__ = '1.1.5' __maintainer__ = 'Vladimir Roncevic' __email__ = 'elektron.ronca@gmail.com' __status__ = 'Updated' @@ -61,7 +61,7 @@ PYP_CLASSIFIERS: List[str] = SUPPORTED_PY_VERSIONS + APPROVED_LICENSES setup( name='gen_gtkmm', - version='1.1.4', + version='1.1.5', description='GTK-- project skeleton generator', author='Vladimir Roncevic', author_email='elektron.ronca@gmail.com', diff --git a/tests/.coverage b/tests/.coverage index 57c5688a8f7e67e0364a7eb849986eec8614f652..7fc649c0930f5a5842bca7cdc4cad4d03c1b5b48 100644 GIT binary patch delta 31 ncmZozz}&EadBeVbZhJ`vod@q3e*FK>Jo#k5DHDUhq6rQF*P0DK delta 31 ncmZozz}&EadBeVb?)^LrVjs#G{`~*XIQeA1DboS5MH3tV-4qS{ diff --git a/tests/full_simple/build/Makefile b/tests/full_simple/build/Makefile index a9e6175..e2f8318 100644 --- a/tests/full_simple/build/Makefile +++ b/tests/full_simple/build/Makefile @@ -1,7 +1,7 @@ # # @brief full_simple -# @version 1.1.4 -# @date 2024-07-03 23:42:57.119021 +# @version 1.1.5 +# @date 2024-07-08 20:11:22.336695 # @company None, free software to use 2024 # @author Vladimir Roncevic # diff --git a/tests/full_simple/build/ccflags.mk b/tests/full_simple/build/ccflags.mk index 4e26727..8b12838 100644 --- a/tests/full_simple/build/ccflags.mk +++ b/tests/full_simple/build/ccflags.mk @@ -1,7 +1,7 @@ # # @brief full_simple -# @version 1.1.4 -# @date 2024-07-03 23:42:57.027642 +# @version 1.1.5 +# @date 2024-07-08 20:11:22.219551 # @company None, free software to use 2024 # @author Vladimir Roncevic # diff --git a/tests/full_simple/build/ldflags.mk b/tests/full_simple/build/ldflags.mk index 3934cb1..e5e25b0 100644 --- a/tests/full_simple/build/ldflags.mk +++ b/tests/full_simple/build/ldflags.mk @@ -1,7 +1,7 @@ # # @brief full_simple -# @version 1.1.4 -# @date 2024-07-03 23:42:57.050587 +# @version 1.1.5 +# @date 2024-07-08 20:11:22.248861 # @company None, free software to use 2024 # @author Vladimir Roncevic # diff --git a/tests/full_simple/build/objects.mk b/tests/full_simple/build/objects.mk index bcba750..b4decb6 100644 --- a/tests/full_simple/build/objects.mk +++ b/tests/full_simple/build/objects.mk @@ -1,7 +1,7 @@ # # @brief full_simple -# @version 1.1.4 -# @date 2024-07-03 23:42:57.096270 +# @version 1.1.5 +# @date 2024-07-08 20:11:22.307287 # @company None, free software to use 2024 # @author Vladimir Roncevic # diff --git a/tests/full_simple/build/sources.mk b/tests/full_simple/build/sources.mk index ab92e9e..8d05b6a 100644 --- a/tests/full_simple/build/sources.mk +++ b/tests/full_simple/build/sources.mk @@ -1,7 +1,7 @@ # # @brief full_simple -# @version 1.1.4 -# @date 2024-07-03 23:42:57.073466 +# @version 1.1.5 +# @date 2024-07-08 20:11:22.277785 # @company None, free software to use 2024 # @author Vladimir Roncevic # diff --git a/tests/gen_gtkmm_coverage.json b/tests/gen_gtkmm_coverage.json new file mode 100644 index 0000000..2588071 --- /dev/null +++ b/tests/gen_gtkmm_coverage.json @@ -0,0 +1 @@ +{"meta": {"format": 2, "version": "7.5.3", "timestamp": "2024-07-08T20:11:31.412552", "branch_coverage": false, "show_contexts": false}, "files": {"/data/dev/python/3_tools/gen_gtkmm/github/gen_gtkmm/gen_gtkmm/__init__.py": {"executed_lines": [3, 23, 24, 25, 26, 27, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 43, 44, 45, 46, 47, 48, 49, 50, 53, 54, 72, 73, 74, 75, 76, 78, 86, 87, 94, 95, 96, 97, 100, 103, 104, 108, 114, 124, 125, 126, 127, 128, 129, 132, 133, 134, 138, 139, 142, 143, 150, 157, 158, 159, 180], "summary": {"covered_lines": 59, "num_statements": 71, "percent_covered": 83.09859154929578, "percent_covered_display": "83", "missing_lines": 12, "excluded_lines": 0}, "missing_lines": [39, 41, 154, 155, 156, 164, 165, 168, 169, 172, 174, 177], "excluded_lines": []}, "/data/dev/python/3_tools/gen_gtkmm/github/gen_gtkmm/gen_gtkmm/pro/__init__.py": {"executed_lines": [3, 23, 24, 25, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 41, 42, 43, 44, 45, 46, 47, 48, 51, 52, 70, 71, 73, 81, 82, 83, 84, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 98, 106, 108, 116, 118, 132, 133, 134, 137, 138, 139, 140, 141, 142, 143, 146, 147, 148], "summary": {"covered_lines": 57, "num_statements": 59, "percent_covered": 96.61016949152543, "percent_covered_display": "97", "missing_lines": 2, "excluded_lines": 0}, "missing_lines": [37, 39], "excluded_lines": []}, "/data/dev/python/3_tools/gen_gtkmm/github/gen_gtkmm/gen_gtkmm/pro/read_template.py": {"executed_lines": [3, 23, 24, 25, 27, 28, 29, 30, 31, 32, 33, 38, 39, 40, 41, 42, 43, 44, 45, 48, 51, 52, 66, 67, 69, 77, 78, 79, 80, 81, 82, 83, 85, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 119, 120, 121], "summary": {"covered_lines": 52, "num_statements": 54, "percent_covered": 96.29629629629629, "percent_covered_display": "96", "missing_lines": 2, "excluded_lines": 0}, "missing_lines": [34, 36], "excluded_lines": []}, "/data/dev/python/3_tools/gen_gtkmm/github/gen_gtkmm/gen_gtkmm/pro/write_template.py": {"executed_lines": [3, 23, 24, 25, 26, 27, 28, 30, 31, 32, 33, 34, 35, 40, 41, 42, 43, 44, 45, 46, 47, 50, 51, 64, 66, 74, 75, 77, 96, 97, 98, 101, 102, 103, 104, 105, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 122, 124, 125, 127, 128, 129, 130, 131, 132, 133, 134, 135, 144, 145, 146, 147, 148, 149, 153, 156, 157, 160], "summary": {"covered_lines": 68, "num_statements": 72, "percent_covered": 94.44444444444444, "percent_covered_display": "94", "missing_lines": 4, "excluded_lines": 0}, "missing_lines": [36, 38, 106, 159], "excluded_lines": []}}, "totals": {"covered_lines": 236, "num_statements": 256, "percent_covered": 92.1875, "percent_covered_display": "92", "missing_lines": 20, "excluded_lines": 0}} \ No newline at end of file diff --git a/tests/gen_gtkmm_coverage.xml b/tests/gen_gtkmm_coverage.xml new file mode 100644 index 0000000..840317d --- /dev/null +++ b/tests/gen_gtkmm_coverage.xml @@ -0,0 +1,294 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/gen_gtkmm_pro_test.py b/tests/gen_gtkmm_pro_test.py index 9047f36..0c63dff 100644 --- a/tests/gen_gtkmm_pro_test.py +++ b/tests/gen_gtkmm_pro_test.py @@ -38,7 +38,7 @@ __copyright__ = '(C) 2024, https://electux.github.io/gen_gtkmm' __credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation'] __license__ = 'https://github.com/electux/gen_gtkmm/blob/dev/LICENSE' -__version__ = '1.1.4' +__version__ = '1.1.5' __maintainer__ = 'Vladimir Roncevic' __email__ = 'elektron.ronca@gmail.com' __status__ = 'Updated' diff --git a/tests/gen_gtkmm_test.py b/tests/gen_gtkmm_test.py index 9372410..93ccb95 100644 --- a/tests/gen_gtkmm_test.py +++ b/tests/gen_gtkmm_test.py @@ -37,7 +37,7 @@ __copyright__ = '(C) 2024, https://electux.github.io/gen_gtkmm' __credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation'] __license__ = 'https://github.com/electux/gen_gtkmm/blob/dev/LICENSE' -__version__ = '1.1.4' +__version__ = '1.1.5' __maintainer__ = 'Vladimir Roncevic' __email__ = 'elektron.ronca@gmail.com' __status__ = 'Updated' @@ -59,7 +59,6 @@ class GenGtkMMTestCase(TestCase): | test_default_create - Default on create is not None. | test_missing_args - Missing args. | test_process - Generate project. - | test_tool_not_operational - Generate project not operational. | test_pro_already_exists - Generate already existing project. ''' @@ -96,15 +95,6 @@ def test_process(self) -> None: generator: GenGtkMM = GenGtkMM() self.assertTrue(generator.process()) - def test_tool_not_operational(self) -> None: - '''Generate project not operational''' - sys.argv.clear() - sys.argv.insert(0, '-n') - sys.argv.insert(1, 'fresh') - generator: GenGtkMM = GenGtkMM() - generator.tool_operational = False - self.assertFalse(generator.process()) - def test_pro_already_exists(self) -> None: '''Generate already existing project''' sys.argv.clear() diff --git a/tests/latest/build/Makefile b/tests/latest/build/Makefile index 6002ac8..9123cd6 100644 --- a/tests/latest/build/Makefile +++ b/tests/latest/build/Makefile @@ -1,7 +1,7 @@ # # @brief latest -# @version 1.1.4 -# @date 2024-07-03 23:43:03.369548 +# @version 1.1.5 +# @date 2024-07-08 20:11:28.785449 # @company None, free software to use 2024 # @author Vladimir Roncevic # diff --git a/tests/latest/build/ccflags.mk b/tests/latest/build/ccflags.mk index 7d380d8..a8b1f51 100644 --- a/tests/latest/build/ccflags.mk +++ b/tests/latest/build/ccflags.mk @@ -1,7 +1,7 @@ # # @brief latest -# @version 1.1.4 -# @date 2024-07-03 23:43:03.275017 +# @version 1.1.5 +# @date 2024-07-08 20:11:28.666225 # @company None, free software to use 2024 # @author Vladimir Roncevic # diff --git a/tests/latest/build/ldflags.mk b/tests/latest/build/ldflags.mk index f2243ed..2a4e905 100644 --- a/tests/latest/build/ldflags.mk +++ b/tests/latest/build/ldflags.mk @@ -1,7 +1,7 @@ # # @brief latest -# @version 1.1.4 -# @date 2024-07-03 23:43:03.299016 +# @version 1.1.5 +# @date 2024-07-08 20:11:28.696119 # @company None, free software to use 2024 # @author Vladimir Roncevic # diff --git a/tests/latest/build/objects.mk b/tests/latest/build/objects.mk index 7446712..480144b 100644 --- a/tests/latest/build/objects.mk +++ b/tests/latest/build/objects.mk @@ -1,7 +1,7 @@ # # @brief latest -# @version 1.1.4 -# @date 2024-07-03 23:43:03.346224 +# @version 1.1.5 +# @date 2024-07-08 20:11:28.755521 # @company None, free software to use 2024 # @author Vladimir Roncevic # diff --git a/tests/latest/build/sources.mk b/tests/latest/build/sources.mk index 7ead68e..3dd990b 100644 --- a/tests/latest/build/sources.mk +++ b/tests/latest/build/sources.mk @@ -1,7 +1,7 @@ # # @brief latest -# @version 1.1.4 -# @date 2024-07-03 23:43:03.322851 +# @version 1.1.5 +# @date 2024-07-08 20:11:28.726060 # @company None, free software to use 2024 # @author Vladimir Roncevic # diff --git a/tests/new_simple_test/build/Makefile b/tests/new_simple_test/build/Makefile index b78bd85..56ee43c 100644 --- a/tests/new_simple_test/build/Makefile +++ b/tests/new_simple_test/build/Makefile @@ -1,7 +1,7 @@ # # @brief new_simple_test -# @version 1.1.4 -# @date 2024-07-03 23:43:06.717714 +# @version 1.1.5 +# @date 2024-07-08 20:11:31.074140 # @company None, free software to use 2024 # @author Vladimir Roncevic # diff --git a/tests/new_simple_test/build/ccflags.mk b/tests/new_simple_test/build/ccflags.mk index 1ffd98e..6506983 100644 --- a/tests/new_simple_test/build/ccflags.mk +++ b/tests/new_simple_test/build/ccflags.mk @@ -1,7 +1,7 @@ # # @brief new_simple_test -# @version 1.1.4 -# @date 2024-07-03 23:43:06.625865 +# @version 1.1.5 +# @date 2024-07-08 20:11:30.958067 # @company None, free software to use 2024 # @author Vladimir Roncevic # diff --git a/tests/new_simple_test/build/ldflags.mk b/tests/new_simple_test/build/ldflags.mk index cf397fe..5a249f1 100644 --- a/tests/new_simple_test/build/ldflags.mk +++ b/tests/new_simple_test/build/ldflags.mk @@ -1,7 +1,7 @@ # # @brief new_simple_test -# @version 1.1.4 -# @date 2024-07-03 23:43:06.648914 +# @version 1.1.5 +# @date 2024-07-08 20:11:30.987223 # @company None, free software to use 2024 # @author Vladimir Roncevic # diff --git a/tests/new_simple_test/build/objects.mk b/tests/new_simple_test/build/objects.mk index f047921..f7c328a 100644 --- a/tests/new_simple_test/build/objects.mk +++ b/tests/new_simple_test/build/objects.mk @@ -1,7 +1,7 @@ # # @brief new_simple_test -# @version 1.1.4 -# @date 2024-07-03 23:43:06.695053 +# @version 1.1.5 +# @date 2024-07-08 20:11:31.045521 # @company None, free software to use 2024 # @author Vladimir Roncevic # diff --git a/tests/new_simple_test/build/sources.mk b/tests/new_simple_test/build/sources.mk index 6d06f80..0726dc0 100644 --- a/tests/new_simple_test/build/sources.mk +++ b/tests/new_simple_test/build/sources.mk @@ -1,7 +1,7 @@ # # @brief new_simple_test -# @version 1.1.4 -# @date 2024-07-03 23:43:06.671492 +# @version 1.1.5 +# @date 2024-07-08 20:11:31.016692 # @company None, free software to use 2024 # @author Vladimir Roncevic # diff --git a/tests/read_template_test.py b/tests/read_template_test.py index 921fc1d..cc0950b 100644 --- a/tests/read_template_test.py +++ b/tests/read_template_test.py @@ -40,7 +40,7 @@ __copyright__ = '(C) 2024, https://electux.github.io/gen_gtkmm' __credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation'] __license__ = 'https://github.com/electux/gen_gtkmm/blob/dev/LICENSE' -__version__ = '1.1.4' +__version__ = '1.1.5' __maintainer__ = 'Vladimir Roncevic' __email__ = 'elektron.ronca@gmail.com' __status__ = 'Updated' diff --git a/tests/run_coverage.sh b/tests/run_coverage.sh index 9ad18ed..ce5663f 100755 --- a/tests/run_coverage.sh +++ b/tests/run_coverage.sh @@ -1,12 +1,18 @@ #!/bin/bash # # @brief gen_gtkmm -# @version v1.1.4 +# @version v1.1.5 # @date Sat Aug 11 09:58:41 2021 # @company None, free software to use 2021 # @author Vladimir Roncevic # +rm -rf htmlcov gen_gtkmm_coverage.xml gen_gtkmm_coverage.json .coverage +rm -rf new_simple_test/ full_simple/ latest/ empty_simple_test/ fresh_new/ +ats_coverage_run.py -n gen_gtkmm -p ../README.md rm -rf new_simple_test/ full_simple/ latest/ empty_simple_test/ fresh_new/ python3 -m coverage run -m --source=../gen_gtkmm unittest discover -s ./ -p '*_test.py' -vvv -python3 -m coverage html +python3 -m coverage html -d htmlcov +python3 -m coverage xml -o gen_gtkmm_coverage.xml +python3 -m coverage json -o gen_gtkmm_coverage.json +python3 -m coverage report --format=markdown -m diff --git a/tests/write_template_test.py b/tests/write_template_test.py index 13e78d4..22bcb4b 100644 --- a/tests/write_template_test.py +++ b/tests/write_template_test.py @@ -41,7 +41,7 @@ __copyright__ = '(C) 2024, https://electux.github.io/gen_gtkmm' __credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation'] __license__ = 'https://github.com/electux/gen_gtkmm/blob/dev/LICENSE' -__version__ = '1.1.4' +__version__ = '1.1.5' __maintainer__ = 'Vladimir Roncevic' __email__ = 'elektron.ronca@gmail.com' __status__ = 'Updated'