Giter VIP home page Giter VIP logo

pysped-nfe's Introduction

PySPED-NFe

Code refactoring and segmentation from Aristides Caldeira's PySPED.

Setup

Instalar dependências via pip

pip install pyOpenSSL==0.12 geraldo

Instalar libxml

wget ftp://xmlsoft.org/libxml2/libxml2-sources-2.7.8.tar.gz

tar xvzf libxml2-sources-2.7.8.tar.gz

cd libxml2-2.7.8/python

python setup.py install

Instalar pyxmlsec

De acordo com o Aristildes Caldeira [1], há um bug na biblioteca PyXMLSec versão 64 bits. Uma solução é instalar o xmlsec na mão com o patch indicado [2].

[1] - https://groups.google.com/group/pynfe/browse_thread/thread/43bdb756d8252bf5

[2] - http://pastebin.com/4QwzC1jX

wget http://labs.libre-entreprise.org/download.php/430/pyxmlsec-0.3.0.tar.gz

tar xvzf pyxmlsec-0.3.0.tar.gz

cd pyxmlsec-0.3.0

Diff:

--- pyxmlsec-0.3.0/setup.py     2006-01-01 15:43:37.000000000 -0200
+++ pyxmlsec-0.3.0/setup.py     2009-11-10 17:57:29.390253522 -0200
@@ -182,7 +182,8 @@
                define_macros = define_macros,
                include_dirs  = include_dirs,
                library_dirs  = library_dirs,
-               libraries     = libraries
+               libraries     = libraries,
+               extra_compile_args = ['-DXMLSEC_NO_SIZE_T']
                )

python setup.py install

Instalar PySPED-NFe

git clone https://github.com/proge/PySPED-NFe.git

cd PySPED-NFe

python setup.py install

pysped-nfe's People

Contributors

daniel-hartmann avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.