Fixed bootstrapping and README for pip 1.5

This commit is contained in:
Virgil Dupras 2014-01-11 13:27:31 -05:00
parent 25169cfc20
commit 1c84bdd198
2 changed files with 8 additions and 2 deletions

View File

@ -72,6 +72,11 @@ Then, you can install pip requirements in your virtualenv:
([osx|win] depends, of course, on your platform. On other platforms, just use requirements.txt).
**Temporary problem:** The author of polib, which is a dependency here,
[hasn't yet uploaded packages to PyPI][polib], which will make the command fail if you use
pip >= 1.5. You'll have to add `--allow-external polib --allow-unverified polib` to your command.
This is, hopefully, a temporary situation.
## Actual building and running
With your virtualenv activated, you can build and run dupeGuru with these commands:
@ -92,3 +97,4 @@ You can also package dupeGuru into an installable package with:
[pyqt]: http://www.riverbankcomputing.com
[cxfreeze]: http://cx-freeze.sourceforge.net/
[advinst]: http://www.advancedinstaller.com
[polib]: https://bitbucket.org/izi/polib/issue/42

View File

@ -16,10 +16,10 @@ fi
echo "Installing pip requirements"
if [ "$(uname)" == "Darwin" ]; then
pip install -r requirements-osx.txt
pip install -r requirements-osx.txt --allow-external polib --allow-unverified polib
else
python3 -c "import PyQt4" >/dev/null 2>&1 || { echo >&2 "PyQt 4.8+ required. Install it and try again. Aborting"; exit 1; }
pip install -r requirements.txt
pip install -r requirements.txt --allow-external polib --allow-unverified polib
fi
echo "Bootstrapping complete! You can now configure, build and run dupeGuru with:"