diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..2985f8e7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,17 @@ +language: python +python: + - "2.6" + - "2.7" + - "3.2" + - "3.3" + - "3.4" + # PyPy versions + - "pypy" # PyPy2 2.5.0 + - "pypy3" # Pypy3 2.4.0 + - "pypy-5.3.1" +# command to install dependencies +script: + - pip install . + - pip install -r requirements.txt + - python -c 'import pysped' + diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..8eb0e4ae --- /dev/null +++ b/requirements.txt @@ -0,0 +1,7 @@ +lxml>=3.7.3 +signxml>=2.2.4 +Geraldo>=0.4.16 +qrcode>=5.3 +py3o.template>=0.9.11 +sh>=1.12.9 +pytz==2016.7 diff --git a/setup.py b/setup.py index 0e0a9e7c..1657b48c 100644 --- a/setup.py +++ b/setup.py @@ -47,13 +47,14 @@ license = 'LGPL-v2.1+', description = 'PySPED is a library to implement all requirements of the Brazilian Public System of Digital Bookkeeping', long_description = open('README.rst').read(), - requires=[ - 'lxml(>=3.7.3)', - 'xmlsec(>=1.0.7)', - 'Geraldo(>=0.4.16)', - 'qrcode(>=5.3)', - 'py3o.template(>=0.9.11)', - 'sh(>=1.12.9)' + install_requires=[ + 'lxml', + 'signxml', + 'Geraldo', + 'qrcode', + 'py3o.template', + 'sh', + 'pytz', ], tests_require=test_requirements, )