mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-10 14:54:17 +00:00
Handle sdist installation without tox
This commit is contained in:
parent
df0a799c94
commit
f54c0874f8
2 changed files with 3 additions and 1 deletions
3
setup.py
3
setup.py
|
|
@ -37,6 +37,9 @@ requires = [
|
||||||
if sys.version_info < (3, 4):
|
if sys.version_info < (3, 4):
|
||||||
requires.append("enum34")
|
requires.append("enum34")
|
||||||
|
|
||||||
|
if sys.version_info < (3, 2):
|
||||||
|
requires.append("configparser")
|
||||||
|
|
||||||
|
|
||||||
def get_long_description():
|
def get_long_description():
|
||||||
"""Generate a long description from the README and CHANGES files."""
|
"""Generate a long description from the README and CHANGES files."""
|
||||||
|
|
|
||||||
1
tox.ini
1
tox.ini
|
|
@ -6,7 +6,6 @@ envlist = py27,py33,py34,py35,flake8
|
||||||
deps =
|
deps =
|
||||||
mock
|
mock
|
||||||
pytest
|
pytest
|
||||||
pypy,py27: configparser
|
|
||||||
commands =
|
commands =
|
||||||
py.test {posargs}
|
py.test {posargs}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue