diff --git a/.travis.yml b/.travis.yml index 216d8b8..1834c03 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,13 @@ language: python python: - - "2.6" - "2.7" + - "3.7" - "pypy" # - "3.2": Not supported yet install: - - "pip install unittest2 --use-mirrors" - - "pip install ordereddict --use-mirrors || echo \"It's ok...\"" - - "pip install importlib --use-mirrors || echo \"It's ok...\"" + - "pip install unittest2" + - "pip install ordereddict || echo \"It's ok...\"" + - "pip install importlib || echo \"It's ok...\"" script: ./run_tests.sh notifications: irc: diff --git a/setup.py b/setup.py index a3ad4a7..ab74059 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ license='LGPL', description='Classe para gerar arquivo de remessa e leitura de retorno no ' 'padrĂ£o CNAB240', - long_description=open('README.md', 'r').read(), + long_description=open('./README.md', 'r').read(), download_url='https://github.com/loggi/cnab240', scripts=[], classifiers=[], diff --git a/tests/profile.py b/tests/profile.py index b8793e4..86eccce 100644 --- a/tests/profile.py +++ b/tests/profile.py @@ -14,7 +14,7 @@ def profiling(*args, **kwargs): ret = prof.runcall(func, *args, **kwargs) prof.disable() ps = pstats.Stats(prof).sort_stats('cumulative') - print func.func_name + print(func.func_name) ps.print_stats(20) return ret