Skip to content

Commit

Permalink
fix for python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
nir0s committed Dec 13, 2015
1 parent 08d169e commit 7fa0f83
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ env:
- TOX_ENV=flake8
- TOX_ENV=py27
- TOX_ENV=py26
- TOX_ENV=py35
install:
- pip install tox
script:
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ see [https://bugs.python.org/issue1322](https://bugs.python.org/issue1322) for m
* `/etc/lsb-release`
* `/etc/*-release`

`ld` is tested on Python 2.6, 2.7 and 3.5


## Installation

```shell
Expand Down
2 changes: 1 addition & 1 deletion ld/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os
import re
import constants as const
from . import constants as const


class LinuxDistribution(object):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def read(*parts):

setup(
name='ld',
version="0.1.1",
version="0.1.2",
url='https://github.com/nir0s/ld',
author='nir0s',
author_email='[email protected]',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist=flake8,py27,py26
envlist=flake8,py27,py26,py35

[testenv]
deps =
Expand Down

0 comments on commit 7fa0f83

Please sign in to comment.