Commit 432288d6 authored by Ricardo Kirkner's avatar Ricardo Kirkner

update setup.py and tox.ini for compatibility with 2.6, 2.7, 3.2 and 3.3

parent 09268187
......@@ -24,9 +24,9 @@ import configglue
from configglue._compat import PY2
install_requires = []
install_requires = ['pyxdg']
if PY2:
install_requires.extend(['pyxdg', 'configparser'])
install_requires.extend(['configparser'])
setup(name='configglue',
......@@ -43,8 +43,10 @@ interface.
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
],
author='John R. Lenton, Ricardo Kirkner',
......
[tox]
envlist = py26,py27,docs
envlist = py26,py27,py32,py33,docs
[testenv]
deps =
mock
pyxdg
commands =
python setup.py test
[testenv:py26]
deps =
{[testenv]deps}
configparser
[testenv:py27]
deps =
{[testenv]deps}
configparser
[testenv:docs]
changedir = doc
deps =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment