This is a GitHub template for python packages.
- setup.py: update
name
- setup.cfg:
name
,description
,install_requires
,url
- about.py:
__download_url__
,__title__
- Name of folder
src/name
to package name
-
.github/workflows/pytest
:-
name
in line 35 and 54 - Add secret
GIST_DOCS_SCOPE
til GitHub action. This is a GitHub authentication token forrepo, read:repo hook, gist
. - Add a gist and gist ID for the coverage comment
-
-
.github/workflows/publish_to_pypi
:- Add secret:
PYPI_API_TOKEN
to GitHub secrets
- Add secret:
- Delete
.github/workflows/tutorials.yml
if you do not use tutorials
- Change project name in line 33 in
docs/conf.py
- Change citation in
docs/faq.rst
-
name
in line 1, 4, 5, 23 and description in line 7 indocs/index.rst
-
name
in line 7 indocs/installation.rst
- Update
docs/news.rst
- Fill out
README_outline.md
-
name
in line 1, 2, 5, 6, 8, 9, 11 ... - open the discussion forum if you want it
-
replace
the gist ID in line 10 for the coverage comment
-
- replace
README.md
withREADME_outline.md
- Replace icons in
docs/_static
, create a favicon using favicon.io - Update the citation.cff