Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADD] Travis file and requirements file #59

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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'

7 changes: 7 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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
15 changes: 8 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)