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 7fa01ce commit 5e4a613Copy full SHA for 5e4a613
README.rst
@@ -200,3 +200,18 @@ Django3.2 you would run:
200
tox -e py3.9-django3.2
201
202
The available test environments can be found in ``tox.ini``.
203
+
204
+Publishing
205
+==========
206
207
+To build a source distribution and wheel:
208
209
+::
210
211
+ tox -e build
212
213
+To publish to PyPI:
214
215
216
217
+ tox -e upload
tox.ini
@@ -63,3 +63,19 @@ deps =
63
-rrequirements-tests.txt
64
djongo
65
commands = {posargs:bash -x functional.sh}
66
67
+[testenv:build]
68
+basepython = python
69
+skip_install = true
70
+deps =
71
+ build
72
+commands =
73
+ {envpython} -m build
74
75
+[testenv:upload]
76
77
78
79
+ twine
80
81
+ {envpython} -m twine upload {toxinidir}/dist/*
0 commit comments