Skip to content

Commit

Permalink
Declare Python 2.6 support
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasf committed Sep 11, 2015
1 parent b01e87b commit 2e16a0d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
language: python
sudo: false
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ is more important to get things right, than to be consistent with previous
versions. Use this changelog to see what changed in a new release, because this
might include API breaking changes.

Upcoming in the next release
----------------------------

* Python 2.6 support. Patch by vdbergh.

New in v0.11.1
--------------

Expand Down
3 changes: 1 addition & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ https://python-chess.readthedocs.org/en/latest/
Features
--------

* Supports Python 2.7 and Python 3.3+.
* Supports Python 2.6+ and Python 3.3+.

.. code:: python
Expand Down Expand Up @@ -370,7 +370,6 @@ Installing

::

pip install futures # Backport for Python < 3.2
pip install python-chess

* From current source code:
Expand Down
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ def read_description():
def dependencies():
deps = []

if sys.version_info < (2, 7):
deps.append("backport_collections")
deps.append("unittest2")

if sys.version_info < (3, 2):
deps.append("futures")

Expand All @@ -77,6 +81,7 @@ def dependencies():
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
Expand Down

0 comments on commit 2e16a0d

Please sign in to comment.