Browse Source

Ajeitando testes

pull/1/merge
Danimar Ribeiro 11 years ago
parent
commit
6865c2d4c5
  1. 7
      .travis.yml
  2. 12
      setup.py
  3. 0
      tests/AssinaturaTest.py
  4. 0
      tests/__init__.py

7
.travis.yml

@ -0,0 +1,7 @@
language: python
python:
- "2.7"
install:
- pip install PyXmlSec
script: nosetests

12
setup.py

@ -1,12 +1,11 @@
#coding=utf-8
from setuptools import setup
from setuptools import setup, find_packages
setup(
name = "PyNfeTrust",
version = "0.1",
author = "Danimar Ribeiro",
author_email = 'danimaribeiro@gmail.com',
test_suite='tests',
keywords = ['nfe', 'mdf-e'],
classifiers=[
'Development Status :: 1 - alpha',
@ -17,10 +16,7 @@ setup(
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
],
packages = [
'pynfe',
'pynfe.servicos',
],
packages = find_packages(exclude=['*tests*']),
url = 'https://github.com/danimaribeiro/PyNfeTrust',
license = 'LGPL-v2.1+',
description = 'PyNfeTrust é uma biblioteca para envio de NF-e',
@ -28,7 +24,9 @@ setup(
install_requires=[
'PyXMLSec >= 0.3.0'
],
test_suite='nose.collector',
tests_require=[
'pyflakes>=0.6.1',
'nose',
'mock',
],
)

0
test/AssinaturaTest.py → tests/AssinaturaTest.py

0
test/__init__.py → tests/__init__.py

Loading…
Cancel
Save