https://github.com/pior/pyreleaser
Opinionated release flow for your Python project
https://github.com/pior/pyreleaser
Last synced: 3 months ago
JSON representation
Opinionated release flow for your Python project
- Host: GitHub
- URL: https://github.com/pior/pyreleaser
- Owner: pior
- License: mit
- Created: 2018-03-31T02:30:28.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-04-20T17:03:35.000Z (about 4 years ago)
- Last Synced: 2025-02-26T14:05:56.654Z (4 months ago)
- Language: Python
- Homepage: https://pypi.org/project/pyreleaser/
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PyReleaser
[](https://pypi.python.org/pypi/pyreleaser)
[](https://pypi.python.org/pypi/pyreleaser)
[](https://pypi.python.org/pypi/pyreleaser)
[](https://travis-ci.org/pior/pyreleaser)Simple command to release your Python project to PyPI.
PyRelease implements the following release flow:
- update setup.py version
- `git tag -a`
- `git push`For the upload flow:
- `python setup.py sdist bdist_wheel`
- `twine upload`## Install
```shell
$ pip install 'pyreleaser >= 0.5.1'
```## Usage
Create the release:
```bash
$ pyreleaser create 0.5.1
🔸 Update version in setup.py
🔸 Commit the release
[master 1b206aa] Release v0.5.1
1 file changed, 1 insertion(+), 1 deletion(-)
🔸 Tag the release: v0.5.1🔔 Don't forget to push with: git push --follow-tags
```Upload to PyPI:
```bash
$ pyreleaser upload
🔸 Build distributions
🔸 Upload to PyPI
Uploading distributions to https://upload.pypi.org/legacy/
Uploading pyreleaser-0.5.1-py3-none-any.whl
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 8.66k/8.66k [00:01<00:00, 6.85kB/s]
Uploading pyreleaser-0.5.1.tar.gz
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 7.75k/7.75k [00:00<00:00, 8.02kB/s]
```