We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2233054 commit 7f23fc2Copy full SHA for 7f23fc2
tox.ini
@@ -41,6 +41,10 @@ passenv =
41
ALGOLIA*
42
commands = python runtests.py
43
44
+[versions]
45
+twine = >=1.13,<2.0
46
+wheel = >=0.34,<1.0
47
+
48
[testenv:coverage]
49
basepython = python3.8
50
deps = coverage
@@ -61,3 +65,16 @@ commands =
61
65
coverage run --branch --source=algoliasearch_django runtests.py
62
66
coverage report
63
67
coveralls
68
69
+[testenv:release]
70
+basepython = python3.8
71
+deps =
72
+ twine {[versions]twine}
73
+ wheel {[versions]wheel}
74
+passenv =
75
+ PYPI_USER
76
+ PYPI_PASSWORD
77
+commands =
78
+ python setup.py sdist bdist_wheel
79
+ twine check dist/*
80
+ twine upload -u {env:PYPI_USER} -p {env:PYPI_PASSWORD} --repository-url https://upload.pypi.org/legacy/ dist/*
0 commit comments