File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -200,3 +200,18 @@ Django3.2 you would run:
200200 tox -e py3.9-django3.2
201201
202202The 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
Original file line number Diff line number Diff line change @@ -63,3 +63,19 @@ deps =
6363 -rrequirements-tests.txt
6464 djongo
6565commands = {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+ basepython = python
77+ skip_install = true
78+ deps =
79+ twine
80+ commands =
81+ {envpython} -m twine upload {toxinidir}/dist/*
You can’t perform that action at this time.
0 commit comments