Open ImplantiSolucoes opened 5 years ago
fiz um novo teste usando o python setup.py install e gerou o log abaixo
implanti@ubuntu:/opt$ sudo git clone https://github.com/akretion/mdfelib.git Cloning into 'mdfelib'... remote: Enumerating objects: 22, done. remote: Counting objects: 100% (22/22), done. remote: Compressing objects: 100% (14/14), done. remote: Total 191 (delta 10), reused 8 (delta 8), pack-reused 169 Receiving objects: 100% (191/191), 1.04 MiB | 1.08 MiB/s, done. Resolving deltas: 100% (94/94), done. Checking connectivity... done. implanti@ubuntu:/opt$ cd mdfelib/ implanti@ubuntu:/opt/mdfelib$ sudo python3 setup.py install running install Checking .pth file support in /usr/local/lib/python3.5/dist-packages/ /usr/bin/python3 -E -c pass TEST PASSED: /usr/local/lib/python3.5/dist-packages/ appears to support .pth files running bdist_egg running egg_info creating mdfelib.egg-info writing dependency_links to mdfelib.egg-info/dependency_links.txt writing top-level names to mdfelib.egg-info/top_level.txt writing mdfelib.egg-info/PKG-INFO writing manifest file 'mdfelib.egg-info/SOURCES.txt' writing manifest file 'mdfelib.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py creating build creating build/lib creating build/lib/mdfelib copying mdfelib/init.py -> build/lib/mdfelib creating build/lib/mdfelib/v3_00 copying mdfelib/v3_00/tiposGeralMDFe.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/init.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/evCancMDFe.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/retEnviMDFe.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/consMDFeNaoEncTiposBasico.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/evIncCondutorMDFe.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/consReciMDFeTiposBasico.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/xmldsig-core-schema_v1_01.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/leiauteDistMDFe.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/distMDFe.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/retConsMDFeNaoEnc_v1_00.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/consReciMDFe.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/enviMDFe.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/retConsReciMDFe.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/procEventoMDFe.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/mdfeModalRodoviario.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/consMDFeNaoEnc.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/mdfeConsultaDFe.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/retMDFeConsultaDFe.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/retConsMDFeNaoEnc.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/mdfeConsultaDFeTiposBasico.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/mdfeModalFerroviario.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/eventoMDFeTiposBasico.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/consSitMDFe.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/retConsStatServMDFe.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/consStatServMDFe.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/retEventoMDFe.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/eventoMDFe.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/mdfeModalAquaviario.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/retConsSitMDFe.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/procMDFe.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/mdfe.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/retDistMDFe.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/consSitMDFeTiposBasico.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/evEncMDFe.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/consStatServTiposBasico.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/mdfeTiposBasico.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/mdfeModalAereo.py -> build/lib/mdfelib/v3_00 creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/mdfelib copying build/lib/mdfelib/init.py -> build/bdist.linux-x86_64/egg/mdfelib creating build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/tiposGeralMDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/init.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/evCancMDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/retEnviMDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/consMDFeNaoEncTiposBasico.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/evIncCondutorMDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/consReciMDFeTiposBasico.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/xmldsig-core-schema_v1_01.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/leiauteDistMDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/distMDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/retConsMDFeNaoEnc_v1_00.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/consReciMDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/enviMDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/retConsReciMDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/procEventoMDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/mdfeModalRodoviario.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/consMDFeNaoEnc.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/mdfeConsultaDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/retMDFeConsultaDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/retConsMDFeNaoEnc.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/mdfeConsultaDFeTiposBasico.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/mdfeModalFerroviario.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/eventoMDFeTiposBasico.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/consSitMDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/retConsStatServMDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/consStatServMDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/retEventoMDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/eventoMDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/mdfeModalAquaviario.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/retConsSitMDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/procMDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/mdfe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/retDistMDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/consSitMDFeTiposBasico.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/evEncMDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/consStatServTiposBasico.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/mdfeTiposBasico.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/mdfeModalAereo.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 byte-compiling build/bdist.linux-x86_64/egg/mdfelib/init.py to init.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/tiposGeralMDFe.py to tiposGeralMDFe.cpython-35.pyc File "build/bdist.linux-x86_64/egg/mdfelib/v3_00/tiposGeralMDFe.py", line 736 rootClass = ^ SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/init.py to init.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/evCancMDFe.py to evCancMDFe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/retEnviMDFe.py to retEnviMDFe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/consMDFeNaoEncTiposBasico.py to consMDFeNaoEncTiposBasico.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/evIncCondutorMDFe.py to evIncCondutorMDFe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/consReciMDFeTiposBasico.py to consReciMDFeTiposBasico.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/xmldsig-core-schema_v1_01.py to xmldsig-core-schema_v1_01.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/leiauteDistMDFe.py to leiauteDistMDFe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/distMDFe.py to distMDFe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/retConsMDFeNaoEnc_v1_00.py to retConsMDFeNaoEnc_v1_00.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/consReciMDFe.py to consReciMDFe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/enviMDFe.py to enviMDFe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/retConsReciMDFe.py to retConsReciMDFe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/procEventoMDFe.py to procEventoMDFe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/mdfeModalRodoviario.py to mdfeModalRodoviario.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/consMDFeNaoEnc.py to consMDFeNaoEnc.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/mdfeConsultaDFe.py to mdfeConsultaDFe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/retMDFeConsultaDFe.py to retMDFeConsultaDFe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/retConsMDFeNaoEnc.py to retConsMDFeNaoEnc.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/mdfeConsultaDFeTiposBasico.py to mdfeConsultaDFeTiposBasico.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/mdfeModalFerroviario.py to mdfeModalFerroviario.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/eventoMDFeTiposBasico.py to eventoMDFeTiposBasico.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/consSitMDFe.py to consSitMDFe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/retConsStatServMDFe.py to retConsStatServMDFe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/consStatServMDFe.py to consStatServMDFe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/retEventoMDFe.py to retEventoMDFe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/eventoMDFe.py to eventoMDFe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/mdfeModalAquaviario.py to mdfeModalAquaviario.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/retConsSitMDFe.py to retConsSitMDFe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/procMDFe.py to procMDFe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/mdfe.py to mdfe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/retDistMDFe.py to retDistMDFe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/consSitMDFeTiposBasico.py to consSitMDFeTiposBasico.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/evEncMDFe.py to evEncMDFe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/consStatServTiposBasico.py to consStatServTiposBasico.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/mdfeTiposBasico.py to mdfeTiposBasico.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/mdfeModalAereo.py to mdfeModalAereo.cpython-35.pyc creating build/bdist.linux-x86_64/egg/EGG-INFO copying mdfelib.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying mdfelib.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying mdfelib.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying mdfelib.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO copying mdfelib.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO creating dist creating 'dist/mdfelib-0.1-py3.5.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing mdfelib-0.1-py3.5.egg creating /usr/local/lib/python3.5/dist-packages/mdfelib-0.1-py3.5.egg Extracting mdfelib-0.1-py3.5.egg to /usr/local/lib/python3.5/dist-packages File "/usr/local/lib/python3.5/dist-packages/mdfelib-0.1-py3.5.egg/mdfelib/v3_00/tiposGeralMDFe.py", line 736 rootClass = ^ SyntaxError: invalid syntax
Adding mdfelib 0.1 to easy-install.pth file
Installed /usr/local/lib/python3.5/dist-packages/mdfelib-0.1-py3.5.egg Processing dependencies for mdfelib==0.1 Finished processing dependencies for mdfelib==0.1
Porem usando o fork do @mileo me gerou o seguinte log
implanti@ubuntu:/opt$ sudo git clone https://github.com/kmee/mdfelib.git Cloning into 'mdfelib'... remote: Enumerating objects: 873, done. remote: Total 873 (delta 0), reused 0 (delta 0), pack-reused 873 Receiving objects: 100% (873/873), 12.89 MiB | 2.73 MiB/s, done. Resolving deltas: 100% (624/624), done. Checking connectivity... done. implanti@ubuntu:/opt$ cd mdfelib/ implanti@ubuntu:/opt/mdfelib$ sudo python3 setup.py install running install Checking .pth file support in /usr/local/lib/python3.5/dist-packages/ /usr/bin/python3 -E -c pass TEST PASSED: /usr/local/lib/python3.5/dist-packages/ appears to support .pth files running bdist_egg running egg_info writing mdfelib.egg-info/PKG-INFO writing dependency_links to mdfelib.egg-info/dependency_links.txt writing top-level names to mdfelib.egg-info/top_level.txt writing manifest file 'mdfelib.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py copying mdfelib/v3_00/evCancMDFe.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/evIncCondutorMDFe.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/eventoMDFe.py -> build/lib/mdfelib/v3_00 copying mdfelib/v3_00/evEncMDFe.py -> build/lib/mdfelib/v3_00 creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/mdfelib copying build/lib/mdfelib/init.py -> build/bdist.linux-x86_64/egg/mdfelib creating build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/init.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/evCancMDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/evIncCondutorMDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/enviMDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/mdfeModalRodoviario.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/consMDFeNaoEnc.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/generatedsnamespaces.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/consSitMDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/consStatServMDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/eventoMDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/procMDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/mdfe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 copying build/lib/mdfelib/v3_00/evEncMDFe.py -> build/bdist.linux-x86_64/egg/mdfelib/v3_00 byte-compiling build/bdist.linux-x86_64/egg/mdfelib/init.py to init.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/init.py to init.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/evCancMDFe.py to evCancMDFe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/evIncCondutorMDFe.py to evIncCondutorMDFe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/enviMDFe.py to enviMDFe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/mdfeModalRodoviario.py to mdfeModalRodoviario.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/consMDFeNaoEnc.py to consMDFeNaoEnc.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/generatedsnamespaces.py to generatedsnamespaces.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/consSitMDFe.py to consSitMDFe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/consStatServMDFe.py to consStatServMDFe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/eventoMDFe.py to eventoMDFe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/procMDFe.py to procMDFe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/mdfe.py to mdfe.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/mdfelib/v3_00/evEncMDFe.py to evEncMDFe.cpython-35.pyc creating build/bdist.linux-x86_64/egg/EGG-INFO copying mdfelib.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying mdfelib.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying mdfelib.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying mdfelib.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO copying mdfelib.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO creating 'dist/mdfelib-0.1-py3.5.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing mdfelib-0.1-py3.5.egg creating /usr/local/lib/python3.5/dist-packages/mdfelib-0.1-py3.5.egg Extracting mdfelib-0.1-py3.5.egg to /usr/local/lib/python3.5/dist-packages Adding mdfelib 0.1 to easy-install.pth file
Installed /usr/local/lib/python3.5/dist-packages/mdfelib-0.1-py3.5.egg Processing dependencies for mdfelib==0.1 Finished processing dependencies for mdfelib==0.1
Ola @ImplantiSolucoes obrigado por reportar. Tou mexendo nisso direito, alias atualizei um pouco o gerador esses dias: https://github.com/akretion/edoc-gen
Devo subir uma nova versao para a mdfe logo, com tests inclusive.
Eu nao garanto que a Akretion vai cuidar do fluxo da mdfe inteiro no Odoo (como da transmissao) a curto prazo, mas posso garantir que usaremos essa lib para demostrar a nova arquitetura para os documentos fiscal no Odoo v12 com o trabalho no modulo l10n_br_fiscal do @renatonlima, me trabalho no GenerateDS e o trabalho do Luis da KMEE na nova lib de transmissao. Fique ligado nos PRs da 12.0 https://github.com/OCA/l10n-brazil/pulls porque vem coisa boa ai, inclusive de mdfe!
To sabendo, estou usando as libs de transmissão e assinatura do @mileo e testando e verificando os erros e dependências para instalação, se puder subi a nova versão em breve, posso tentar ver o que falta para melhorar :)
Ao instalar dessa forma acabou gerando o erro pip install -e git+https://github.com/akretion/mdfelib.git#egg=mdfelib
AttributeError: module 'mdfelib.v3_00.mdfe' has no attribute 'TEndeEmi' analisando com o pip freeze e retornou essa lista de pacotes python
asn1crypto==0.24.0 attrs==19.1.0 certifi==2019.9.11 cffi==1.12.3 chardet==3.0.4 cryptography==2.7 defusedxml==0.6.0 eight==0.4.2 endesive==1.2.0 erpbrasil.assinatura==0.2.0 erpbrasil.transmissao==0.0.0 fonttools==4.0.1 future==0.16.0 lxml==4.4.1 -e git+https://github.com/akretion/mdfelib.git@d949d2c30aa1d6e83f38ef772292c7b4b47051cb#egg=mdfelib pdf-annotate==0.11.0 pdfminer.six==20181108 pdfrw==0.4 Pillow==6.1.0 pycparser==2.19 pycryptodome==3.9.0 PyKCS11==1.5.5 pyOpenSSL==18.0.0 pytz==2019.2 signxml==2.6.0 six==1.12.0 sortedcontainers==2.1.0 tzlocal==2.0.0
Ao fazer um git clone e instalar usando o comando: python setup.py install
Tudo funcionou corretamente.