From e0973896f24f1633adf74be88e5fc9927c5435f8 Mon Sep 17 00:00:00 2001 From: rocky Date: Mon, 21 Jun 2021 01:44:59 -0400 Subject: [PATCH] Get ready for release 3.7.4 --- .pre-commit-config.yaml | 1 + NEWS.md | 4 +- __pkginfo__.py | 4 +- admin-tools/how-to-make-a-release.md | 85 ---------------------------- admin-tools/make-dist.sh | 3 - decompyle3/version.py | 2 +- 6 files changed, 7 insertions(+), 92 deletions(-) delete mode 100644 admin-tools/how-to-make-a-release.md diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 916648cd..376a3575 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,4 +9,5 @@ repos: rev: 19.10b0 hooks: - id: black + exclude: version.py language_version: python3 diff --git a/NEWS.md b/NEWS.md index d38e29ec..043a8b85 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,2 +1,4 @@ -1.0.0 +3.7.4 ===== + +First PyPI release. Version number is set to roughly the corresponding uncompyle6 version. diff --git a/__pkginfo__.py b/__pkginfo__.py index 5b572b3d..04c582b7 100644 --- a/__pkginfo__.py +++ b/__pkginfo__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2020 Rocky Bernstein +# Copyright (C) 2018-2021 Rocky Bernstein # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -23,7 +23,7 @@ # Things that change more often go here. copyright = """ -Copyright (C) 2015-2020 Rocky Bernstein . +Copyright (C) 2015-2021 Rocky Bernstein . """ classifiers = [ diff --git a/admin-tools/how-to-make-a-release.md b/admin-tools/how-to-make-a-release.md deleted file mode 100644 index d7010c02..00000000 --- a/admin-tools/how-to-make-a-release.md +++ /dev/null @@ -1,85 +0,0 @@ - -**Table of Contents** - -- [Get latest sources:](#get-latest-sources) -- [Change version in decompyle3/version.py](#change-version-in-decompyle3versionpy) -- [Update ChangeLog:](#update-changelog) -- [Update NEWS from ChangeLog:](#update-news-from-changelog) -- [Make sure pyenv is running and check newer versions](#make-sure-pyenv-is-running-and-check-newer-versions) -- [Switch to python-2.4, sync that up and build that first since it creates a tarball which we don't want.](#switch-to-python-24-sync-that-up-and-build-that-first-since-it-creates-a-tarball-which-we-dont-want) -- [Update NEWS from master branch](#update-news-from-master-branch) -- [Check against all versions](#check-against-all-versions) -- [Make packages and tag](#make-packages-and-tag) -- [Upload single package and look at Rst Formating](#upload-single-package-and-look-at-rst-formating) -- [Upload rest of versions](#upload-rest-of-versions) -- [Push tags:](#push-tags) - - -# Get latest sources: - - git pull - -# Change version in decompyle3/version.py: - - $ emacs decompyle3/version.py - $ source decompyle3/version.py - $ echo $VERSION - $ git commit -m"Get ready for release $VERSION" . - -# Update ChangeLog: - - $ make ChangeLog - -# Update NEWS.md from ChangeLog: - - $ emacs NEWS.md - $ make check - $ git commit --amend . - $ git push # get CI testing going early - -# Make sure pyenv is running and check newer versions - - $ pyenv local && source admin-tools/check-newer-versions.sh - -# Switch to python-2.4, sync that up and build that first since it creates a tarball which we don't want. - - $ source admin-tools/setup-python-2.4.sh - $ git merge master - # Add and fix merge conflicts - $ git commit - -# Check against older versions - - $ source admin-tools/check-older-versions.sh - -# Make packages and tag - - $ . ./admin-tools/make-dist-older.sh - $ git tag release-python-2.4-$VERSION - - $ . ./admin-tools/make-dist-newer.sh - -Goto https://github.com/rocky/python-decompyle3/releases - -# Upload single package and look at Rst Formating - - $ twine check dist/xasm-${VERSION}* - $ twine upload dist/decompyle3-${VERSION}-py3.3.egg - -# Upload rest of versions - - $ twine upload dist/decompyle3-${VERSION}* - -# Push tags: - - $ git push --tags - -# Check on a VM - - $ cd /virtual/vagrant/virtual/vagrant/ubuntu-zesty - $ vagrant up - $ vagrant ssh - $ pyenv local 3.5.2 - $ pip install --upgrade decompyle3 - $ exit - $ vagrant halt diff --git a/admin-tools/make-dist.sh b/admin-tools/make-dist.sh index 9398fdf4..b230e10a 100755 --- a/admin-tools/make-dist.sh +++ b/admin-tools/make-dist.sh @@ -13,9 +13,6 @@ trap finish EXIT if ! source ./pyenv-versions ; then exit $? fi -if ! source ./setup-master.sh ; then - exit $? -fi cd .. source $PACKAGE/version.py diff --git a/decompyle3/version.py b/decompyle3/version.py index 984af83a..c84e9372 100644 --- a/decompyle3/version.py +++ b/decompyle3/version.py @@ -12,4 +12,4 @@ # along with this program. If not, see . # This file is suitable for sourcing inside bash as # well as importing into Python -__version__ = "3.3.2" # noqa +__version__="3.7.4" # noqa