Skip to content

Commit da219ee

Browse files
committed
Move PyPi checks to twine
1 parent a1530b7 commit da219ee

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

setup.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,6 @@ def main():
7070
"console_scripts": ["tox=tox:cmdline", "tox-quickstart=tox._quickstart:main"]
7171
},
7272
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
73-
setup_requires=[
74-
"setuptools-scm"
75-
], # needed for https://github.com/pypa/readme_renderer/issues/118
7673
install_requires=[
7774
"setuptools >= 30.0.0",
7875
"pluggy >= 0.3.0, <1",

tox.ini

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,12 @@ commands = sphinx-build -d "{toxworkdir}/docs_doctree" docs "{toxworkdir}/docs_o
4040
[testenv:package_description]
4141
description = check that the long description is valid
4242
basepython = python3.7
43-
deps = readme-renderer >= 21.0
43+
deps = twine >= 1.12.1
44+
pip >= 18.0.0
4445
skip_install = true
4546
extras =
46-
commands = python setup.py check -r -s
47+
commands = pip wheel -w {envtmpdir}/build --no-deps .
48+
twine check {envtmpdir}/build/*
4749

4850
[testenv:fix_lint]
4951
description = format the code base to adhere to our styles, and complain about what we cannot do automatically

0 commit comments

Comments
 (0)