From c0882018efe19e0ee137fa62ba845dc651cf7ee3 Mon Sep 17 00:00:00 2001 From: "Eric O. LEBIGOT (EOL)" Date: Sun, 7 Jun 2020 10:49:39 +0200 Subject: [PATCH] PyPI release preparation adapted to universal source code. --- 00_prepare_for_PyPI.sh | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/00_prepare_for_PyPI.sh b/00_prepare_for_PyPI.sh index 66618335..67e25274 100755 --- a/00_prepare_for_PyPI.sh +++ b/00_prepare_for_PyPI.sh @@ -5,9 +5,6 @@ # This script must be run from its directory. -# WARNING: this script erases any uncertainties-py23 and uncertainties-py27 -# found in the current directory. - # Fail the script at the first failed command: set -e @@ -28,29 +25,9 @@ git merge release git checkout release git merge master -# The Python 2.3-2.5 version should always be up to date: -git checkout release_python2.3 -git merge release - # Default branch for working on the code: git checkout release -## Getting the Python 2.7+ version: - -rm -rf uncertainties-py27 -git archive --output /tmp/u.tar release uncertainties -tar -C /tmp -xf /tmp/u.tar -mv /tmp/uncertainties uncertainties-py27 -echo "Python 2.7+ version imported" - -## Getting the Python 2.3 version: - -rm -rf uncertainties-py23 -git archive --output /tmp/u.tar release_python2.3 uncertainties -tar -C /tmp -xf /tmp/u.tar -mv /tmp/uncertainties uncertainties-py23 -echo "Python 2.3 version imported" - # Packaging. We include wheels because it makes it easier to install, # in some cases (https://github.com/lebigot/uncertainties/pull/108, # https://discourse.slicer.org/t/problems-installing-lmfit-python-package/9210/6):