Mercurial > kallithea
comparison scripts/make-release @ 7841:d9e37f7fd35b
docs: always use dev_requirements.txt together with main version constraints in setup.py
pip isn't good at considering old constraints when installing or updating
packages later. Instead, install everything at once.
Note: pip and setuptools are usually installed automatically and could perhaps
be removed from documentation. But for now, let's keep it.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 12 Aug 2019 12:54:01 +0200 |
parents | 08de75df7775 |
children | 22321950133a |
comparison
equal
deleted
inserted
replaced
7840:62822054a1e2 | 7841:d9e37f7fd35b |
---|---|
17 echo "Setting up a fresh virtualenv in $venv" | 17 echo "Setting up a fresh virtualenv in $venv" |
18 virtualenv -p python2 "$venv" | 18 virtualenv -p python2 "$venv" |
19 . "$venv/bin/activate" | 19 . "$venv/bin/activate" |
20 | 20 |
21 echo "Install/verify tools needed for building and uploading stuff" | 21 echo "Install/verify tools needed for building and uploading stuff" |
22 pip install --upgrade -e . | 22 pip install --upgrade -e . -r dev_requirements.txt twine |
23 pip install --upgrade -r dev_requirements.txt twine | |
24 | 23 |
25 echo "Cleanup and update copyrights ... and clean checkout" | 24 echo "Cleanup and update copyrights ... and clean checkout" |
26 scripts/run-all-cleanup | 25 scripts/run-all-cleanup |
27 scripts/update-copyrights.py | 26 scripts/update-copyrights.py |
28 hg up -cr . | 27 hg up -cr . |