Skip to content
Myr

Improve release script to support new format and wheels.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent 56e187c · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:scripts/make-release.py+2 added-2 removed
90 unmodified lines
91 set_filename_version('setup.py', version, 'version')929394def build_and_upload():95 cmd = [sys.executable, 'setup.py', 'release', 'sdist', 'upload']95 cmd = [sys.executable, 'setup.py', 'release', 'sdist', 'bdist_wheel', 'upload']96 if wheel is not None:97 cmd.insert(4, 'bdist_wheel')98 Popen(cmd).wait()99
32 unmodified lines
132 if rv is None:133 fail('Could not parse changelog')134135 version, release_date, codename = rv136 dev_version = bump_version(version) + '-dev'136 dev_version = bump_version(version) + '.dev'137138 info('Releasing %s (codename %s, release date %s)',139 version, codename, release_date.strftime('%d/%m/%Y'))140 tags = get_git_tags()
24 unmodified lines