Commit 921633b8 authored by nimrod's avatar nimrod
Browse files

- Moved the setup.py metadata check back to the Tox test environment, left...

- Moved the setup.py metadata check back to the Tox test environment, left just the restructuredtext check in the Tox docs environment.
parent b21a665e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ deps =
    six
commands =
    check-manifest --ignore tox.ini,tests*
    python setup.py setup.py check --metadata --strict
    flake8 .
    python -m doctest template/filters.py template/__init__.py
    ./tests.sh
@@ -27,7 +28,7 @@ commands =
[testenv:docs]
basepython = python
deps = readme_renderer
commands = python setup.py check -m -r -s
commands = python setup.py check --restructuredtext --strict

[testenv:release]
basepython = python
@@ -38,5 +39,6 @@ deps =
    wheel
commands =
    sh -c 'git tag "v$(cat VERSION)" && git push --tags'
    sh -c 'rm -rf dist/'
    python setup.py bdist_wheel
    twine upload --skip-existing dist/*.whl