Skip to content

Commit 6c61585

Browse files
authored
Merge pull request #134 from altendky/twine_check
2 parents 2596963 + e57de59 commit 6c61585

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

dev-requirements.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
versioneer
22
black
3+
build
34
pylint
45
pex
56
bump2version

dev-requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ bleach==3.3.1 \
3636
build==0.5.1 \
3737
--hash=sha256:0281eeec2697ee43114eb4fe3ba6e54c111ee2c4ef287b5cd24f82cb24cc1bdb \
3838
--hash=sha256:16897cac845b50cca04f3c92cf8d3e9e0868b21b29b96b577333c14473baa916
39-
# via check-manifest
39+
# via
40+
# -r dev-requirements.in
41+
# check-manifest
4042
bump2version==1.0.1 \
4143
--hash=sha256:37f927ea17cde7ae2d7baf832f8e80ce3777624554a653006c9144f8017fe410 \
4244
--hash=sha256:762cb2bfad61f4ec8e2bdf452c7c267416f8c70dd9ecb1653fd0bbb01fa936e6

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ def read_extras(*prefixes):
5757
),
5858
re.sub(":[a-z]+:`~?(.*?)`", r"``\1``", read("CHANGELOG.rst")),
5959
),
60+
long_description_content_type="text/x-rst",
6061
author="Desert contributors",
6162
author_email="[email protected]",
6263
url="https://github.com/python-desert/desert",

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ deps =
3939
-r {toxinidir}/dev-requirements.txt
4040
skip_install = true
4141
commands =
42-
python setup.py check --strict --metadata --restructuredtext
42+
python -m build --outdir {envtmpdir}/dist/
43+
twine check --strict {envtmpdir}/dist/*
4344
check-manifest {toxinidir}
4445
black --check {toxinidir}
4546
isort --verbose --check-only --diff src tests setup.py

0 commit comments

Comments
 (0)