Skip to content

Commit 1278968

Browse files
committed
also update build/upload instruction
1 parent 29205f0 commit 1278968

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/community/project-management.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ The following template should be used for the description of the issue, and serv
6060

6161
- [ ] Create pull request for [release notes](https://github.com/encode/django-rest-framework/blob/master/docs/topics/release-notes.md) based on the [*.*.* milestone](https://github.com/encode/django-rest-framework/milestones/***).
6262
- [ ] Update supported versions:
63-
- [ ] `setup.py` `python_requires` list
64-
- [ ] `setup.py` Python & Django version trove classifiers
63+
- [ ] `pyproject.toml` `python_requires` list
64+
- [ ] `pyproject.toml` Python & Django version trove classifiers
6565
- [ ] `README` Python & Django versions
6666
- [ ] `docs` Python & Django versions
6767
- [ ] Update the translations from [transifex](https://www.django-rest-framework.org/topics/project-management/#translations).
@@ -72,7 +72,9 @@ The following template should be used for the description of the issue, and serv
7272
- [ ] Confirm with @tomchristie that release is finalized and ready to go.
7373
- [ ] Ensure that release date is included in pull request.
7474
- [ ] Merge the release pull request.
75-
- [ ] Push the package to PyPI with `./setup.py publish`.
75+
- [ ] Install the release tools: `pip install build twine`
76+
- [ ] Build the package: `python -m build`
77+
- [ ] Push the package to PyPI with `twine upload dist/*`
7678
- [ ] Tag the release, with `git tag -a *.*.* -m 'version *.*.*'; git push --tags`.
7779
- [ ] Deploy the documentation with `mkdocs gh-deploy`.
7880
- [ ] Make a release announcement on the [discussion group](https://groups.google.com/forum/?fromgroups#!forum/django-rest-framework).

0 commit comments

Comments
 (0)