Skip to content
Snippets Groups Projects
Commit 017b8999 authored by nimrod's avatar nimrod
Browse files

- Cleaned tox.ini a bit.

- Didn't specity specific Python versions (2 and 3).
- Removed flake8 from dev dependecy list in setup.py, dev requires just tox for
  testing (it installs the testing packages in the virtualenvs).
parent e228e342
No related branches found
No related tags found
No related merge requests found
......@@ -13,8 +13,8 @@ setup(
classifiers=[
'Development status :: 4 - Beta',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 2',
'Intended Audience :: System Administrators',
'Topic :: Utilities',
],
......@@ -22,7 +22,7 @@ setup(
packages=find_packages(),
install_requires=['botocore'],
extras_require={
'dev': ['tox', 'flake8'], },
'dev': ['tox'], },
entry_points={
'console_scripts': [
'eb-prune=eb_prune:main'], },
......
# this file is *not* meant to cover or endorse the use of tox or pytest or
# testing in general,
#
# It's meant to show the use of:
#
# - check-manifest
# confirm items checked into vcs are in your sdist
# - python setup.py check (using the readme_renderer extension)
# confirms your long_description will render correctly on pypi
#
# and also to help confirm pull requests to this project.
[tox]
envlist = py{27,35}
envlist = py{2,3}
[testenv]
basepython =
py27: python2.7
py35: python3.5
py2: python2
py3: python3
deps =
check-manifest
{py27,py35}: readme_renderer
readme_renderer
flake8
commands =
check-manifest --ignore tox.ini,tests*
# py26 doesn't have "setup.py check"
{py27,py35}: python setup.py check -m -r -s
python setup.py check -m -r -s
flake8 .
[flake8]
exclude = .tox,*.egg,build,data
select = E,W,F
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment