From c8257810c41611c75f8a50854327084909cd2105 Mon Sep 17 00:00:00 2001 From: Samuel Allan Date: Thu, 15 Feb 2024 11:10:48 +1030 Subject: [PATCH] Bump version, add build docs for pypi release --- README.md | 12 ++++++++++++ setup.py | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e87e1c8..e34000a 100644 --- a/README.md +++ b/README.md @@ -359,6 +359,18 @@ There is **partial** Windows support: * UI interaction does not work BUT can be made to partially work via a monkey patch to Urwid (see https://github.com/urwid/urwid/issues/447) * See https://github.com/insanum/sncli/issues/119 for details +### Building and releasing + +First, bump the version in setup.py. +Ensure python-build and twine are installed on your system. + +Run: + +``` +python -m build # build the source and built distributions, outputs to dist/ +twine upload dist/* # Upload to pypi. This may prompt for your pypi token. +``` + ### Thanks This application pulls in and uses the diff --git a/setup.py b/setup.py index beec711..64527a6 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setup( name='sncli', description='Simplenote Command Line Interface', - version='0.4.2', + version='0.4.3', author='Eric Davis', author_email='edavis@insanum.com', url='https://github.com/insanum/sncli',