nMustaki / debinterface

A simple Python library for dealing with the /etc/network/interfaces file in most Debian based distributions.
BSD 3-Clause "New" or "Revised" License
10 stars 16 forks source link

Proper python3 support #3

Closed michaelboulton closed 8 years ago

michaelboulton commented 8 years ago

This integrates some proper python 3 support:

nMustaki commented 8 years ago

Hi,

that's great, thanks ! Can you also update tox.ini to test for python 3 too and check it doesn't break elsewhere in either version ?

I guess something like this should work (not tested):

[tox]
envlist = py{27},py{34}

[testenv]
deps =
    check-manifest
    readme_renderer
    flake8
    pytest
commands =
    check-manifest --ignore tox.ini,test*,deploy.sh
    python setup.py check -m -r -s
    flake8 debinterface
    py.test test
[flake8]
exclude = .tox,*.egg,build,data,deploy.sh
select = E,W,F