release.sh: learn users how to get the requirements file for pip

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht 2016-06-07 17:13:02 +02:00
parent 5e61faac9c
commit 871d6584f2

View File

@ -21,6 +21,7 @@ __VERSION__='v0.3'
SPHINXBUILD=sphinx-build SPHINXBUILD=sphinx-build
MAILING_LIST='offlineimap-project@lists.alioth.debian.org' MAILING_LIST='offlineimap-project@lists.alioth.debian.org'
GITHUB_FILE_LINK_PREFIX='https://raw.githubusercontent.com/OfflineIMAP/offlineimap'
DOCSDIR='docs' DOCSDIR='docs'
ANNOUNCE_MAGIC='#### Notes ' ANNOUNCE_MAGIC='#### Notes '
@ -374,7 +375,8 @@ Downloads:
http://github.com/OfflineIMAP/offlineimap/archive/${1}.zip http://github.com/OfflineIMAP/offlineimap/archive/${1}.zip
Pip: Pip:
pip install -r requirements.txt --user git+https://github.com/OfflineIMAP/offlineimap.git@${1} wget "${GITHUB_FILE_LINK_PREFIX}/${1}/requirements.txt" -O requirements.txt
pip install -r ./requirements.txt --user git+https://github.com/OfflineIMAP/offlineimap.git@${1}
EOF EOF
} }