diff --git a/.travis.yml b/.travis.yml index 981775b..922f89f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,6 @@ script: coverage run --source=pytrustnfe setup.py nosetests before_install: - sudo apt-get update -qq - - sudo apt-get install -qq libxml2-dev libxmlsec1-dev libxslt-dev python-lxml + - sudo apt-get install -qq python-dev libffi-dev libxml2-dev libxslt1-dev libssl-dev libxmlsec1-dev python-lxml pandoc after_success: coveralls diff --git a/requirements.txt b/requirements.txt index 33f2961..90a2914 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,4 +4,8 @@ nose mock coveralls http://xmlsoft.org/sources/python/libxml2-python-2.6.21.tar.gz +Jinja2 signxml +pypandoc +suds +suds_requests diff --git a/setup.py b/setup.py index f26ccba..ca022f0 100644 --- a/setup.py +++ b/setup.py @@ -1,18 +1,21 @@ # coding=utf-8 +import pypandoc from setuptools import setup, find_packages +long_description = pypandoc.convert('README.md', 'rst') + setup( - name="PyNfeTrust", - version="0.1", + name="PyTrustNFe", + version="0.1.2", author="Danimar Ribeiro", author_email='danimaribeiro@gmail.com', keywords=['nfe', 'mdf-e'], classifiers=[ - 'Development Status :: 1 - alpha', + 'Development Status :: 3 - Alpha', 'Environment :: Plugins', 'Intended Audience :: Developers', 'License :: OSI Approved :: GNU Lesser General Public License v2 or \ - later (LGPLv2+)', +later (LGPLv2+)', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Software Development :: Libraries :: Python Modules', @@ -20,13 +23,13 @@ setup( packages=find_packages(exclude=['*test*']), package_data={'pytrustnfe': ['nfe/templates/*xml', 'nfse/paulistana/templates/*xml']}, - url='https://github.com/danimaribeiro/PyNfeTrust', + url='https://github.com/danimaribeiro/PyTrustNFe', license='LGPL-v2.1+', - description='PyNfeTrust é uma biblioteca para envio de NF-e', - long_description='PyNfeTrust', + description='PyTrustNFe é uma biblioteca para envio de NF-e', + long_description=long_description, install_requires=[ 'Jinja2 >= 2.8', - 'signxml >= 1.0.0', + 'signxml >= 2.0.0', ], test_suite='nose.collector', tests_require=[