|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
--- |
|
|
|
|
title: My Python release workflow |
|
|
|
|
tags: [python, git, workflow, aur, arch] |
|
|
|
|
updated: 2020-03-26 19:13 |
|
|
|
|
updated: 2020-03-26 19:29 |
|
|
|
|
description: A personal reminder with the instructions for releasing new versions of Python packages |
|
|
|
|
--- |
|
|
|
|
|
|
|
|
@ -46,7 +46,7 @@ in case of a new version release with some of my Python repositories.
|
|
|
|
|
1. update version numbers in: |
|
|
|
|
- `./setup.py` |
|
|
|
|
- `./docs/conf.py` |
|
|
|
|
- all downstream distribution packages (see the`./packages` directory) |
|
|
|
|
- all downstream distribution packages (see the `./packages` directory) |
|
|
|
|
2. update the `./Pipfile` with the appropriate packages |
|
|
|
|
3. `pipenv install` |
|
|
|
|
4. `make pep` |
|
|
|
@ -61,7 +61,8 @@ in case of a new version release with some of my Python repositories.
|
|
|
|
|
- `./README.rst` |
|
|
|
|
- `./docs/conf.py` |
|
|
|
|
- `./docs/copyright_license.rst` |
|
|
|
|
- all Python source files. |
|
|
|
|
- all Python source files |
|
|
|
|
- all downstream distribution packages (see the `./packages` directory) |
|
|
|
|
13. `git add -A` |
|
|
|
|
14. `git commit -am "Preparing for new release."` |
|
|
|
|
15. `git push` |
|
|
|
|