Skip to content

Commit

Permalink
add py2.6 and py3.2 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
lxyu committed Aug 6, 2014
1 parent 9b93b6e commit b84c132
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
- 3.4
- pypy
Expand Down
2 changes: 1 addition & 1 deletion IP/ip.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import sys

PY2 = sys.version_info.major == 2
PY2 = sys.version_info[0] == 2

import functools
import os
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Source: http://tool.17mon.cn
Install
-------

Supports python2.7 to python3.4 and pypy.
Supports python2.6 to python3.4 and pypy.

.. code:: bash
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: Implementation :: CPython",
Expand Down

0 comments on commit b84c132

Please sign in to comment.