Changeset - 22321950133a
[Not reviewed]
stable
0 1 0
Thomas De Schampheleire - 6 years ago 2019-11-30 20:47:01
thomas.de_schampheleire@nokia.com
scripts/make-release: install ldap and pam to fix isort instabilities

isort (triggered by scripts/whitespacecleanup.sh) needs to know which
modules are local and which are not, to separate them with a newline. If a
module cannot be found, it will be treated as local, apparently.

When ldap is not installed in the current environment, a difference was
created by isort in kallithea/bin/ldap_sync.py.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
scripts/make-release
Show inline comments
 
@@ -10,25 +10,25 @@ cleanup()
 

	
 
echo "Checking that you are NOT inside a virtualenv"
 
[ -z "$VIRTUAL_ENV" ]
 

	
 
venv=$(mktemp -d --tmpdir kallithea-release-XXXXX)
 
trap cleanup EXIT
 

	
 
echo "Setting up a fresh virtualenv in $venv"
 
virtualenv -p python2 "$venv"
 
. "$venv/bin/activate"
 

	
 
echo "Install/verify tools needed for building and uploading stuff"
 
pip install --upgrade -e . -r dev_requirements.txt twine
 
pip install --upgrade -e . -r dev_requirements.txt twine python-ldap python-pam
 

	
 
echo "Cleanup and update copyrights ... and clean checkout"
 
scripts/run-all-cleanup
 
scripts/update-copyrights.py
 
hg up -cr .
 

	
 
echo "Make release build from clean checkout in build/"
 
rm -rf build dist
 
hg archive build
 
cd build
 

	
 
echo "Check that each entry in MANIFEST.in match something"
0 comments (0 inline, 0 general)