From dd9d7396c0515a5de435209017b453fdc19fb738 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Mon, 20 Aug 2018 16:15:11 +0100 Subject: [PATCH] developer submodules --- .gitignore | 3 +++ CONTRIBUTING.md | 13 ++++++++++++- Makefile | 5 +++++ 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 34535e96..f42bedc6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,8 @@ *.py[cod] *.so +/wiki/ +/docs/ +/feedstock/ # Packages tqdm.egg-info diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index dd02cf09..19e851d7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -271,4 +271,15 @@ For expereinced devs, once happy with local master: 6. `git tag vM.m.p && git push --tags` 7. `[python setup.py] make distclean` 8. `[python setup.py] make build` -9. `[python setup.py] make pypi` +9. upload to PyPI using one of the following: + a) `[python setup.py] make pypi` + b) `twine upload -s -i $(git config user.signingkey) dist/tqdm-*` +10. create new release on https://github.com/tqdm/tqdm/releases + a) add helpful release notes + b) attach dist/tqdm-* binaries (usually only *.whl*) +11. run `make` in the `wiki` submodule to update release notes +12. run `make deploy` in the `docs` submodule to update website +13. accept the automated PR in the `feedstock` submodule to update conda + +The last thee steps require a one-time `make submodules` to clone +`docs`, `wiki`, and `feedstock`. diff --git a/Makefile b/Makefile index 7a2eb59f..e38a64b7 100644 --- a/Makefile +++ b/Makefile @@ -116,6 +116,11 @@ toxclean: installdev: python setup.py develop --uninstall python setup.py develop +submodules: + git clone git@github.com:tqdm/tqdm.wiki wiki + git clone git@github.com:tqdm/tqdm.github.io docs + git clone git@github.com:conda-forge/tqdm-feedstock feedstock + cd feedstock && git remote add autotick-bot git@github.com:regro-cf-autotick-bot/tqdm-feedstock install: python setup.py install