[GH-ISSUE #53] does update_version.sh update setup.py? #34

Closed
opened 2026-02-26 01:32:57 +03:00 by kerem · 1 comment
Owner

Originally created by @swharden on GitHub (Nov 27, 2016).
Original GitHub issue: https://github.com/jeffknupp/sandman2/issues/53

setup.py has a plain text version string which I don't think will be updated by update_version.sh. It is very different in sandman2 vs sandman(1).

in the update script I wonder if the -r in the line does this somehow:
python setup.py sdist bdist_wheel upload -r pypi
but the pypi page lists the version in setup.py so I'm not sure.

This update script looks very important and convenient! A line or two of documentation on what it does would help a lot.

Originally created by @swharden on GitHub (Nov 27, 2016). Original GitHub issue: https://github.com/jeffknupp/sandman2/issues/53 [setup.py has a plain text version string](https://github.com/jeffknupp/sandman2/blob/47ac844be564f1390fc5177557b1907b65e7f453/setup.py#L39) which I don't think will be updated by [update_version.sh](https://github.com/jeffknupp/sandman2/blob/master/update_version.sh). It is very different in sandman2 vs sandman(1). in the update script I wonder if the -r in the line does this somehow: `python setup.py sdist bdist_wheel upload -r pypi` but [the pypi page](https://pypi.python.org/pypi/sandman2) lists the version in setup.py so I'm not sure. This update script looks very important and convenient! A line or two of documentation on what it does would help a lot.
kerem closed this issue 2026-02-26 01:32:57 +03:00
Author
Owner

@jeffknupp commented on GitHub (Dec 8, 2016):

the update_version script is out of date and shouldn't be used (I'm going to remove it right now). Version is taken solely from setup.py.

<!-- gh-comment-id:265714813 --> @jeffknupp commented on GitHub (Dec 8, 2016): the `update_version` script is out of date and shouldn't be used (I'm going to remove it right now). Version is taken solely from `setup.py`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/sandman2-jeffknupp#34
No description provided.