mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-10 05:34:36 +00:00
Fixed bootstrapping and README for pip 1.5
This commit is contained in:
parent
25169cfc20
commit
1c84bdd198
@ -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).
|
([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
|
## Actual building and running
|
||||||
|
|
||||||
With your virtualenv activated, you can build and run dupeGuru with these commands:
|
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
|
[pyqt]: http://www.riverbankcomputing.com
|
||||||
[cxfreeze]: http://cx-freeze.sourceforge.net/
|
[cxfreeze]: http://cx-freeze.sourceforge.net/
|
||||||
[advinst]: http://www.advancedinstaller.com
|
[advinst]: http://www.advancedinstaller.com
|
||||||
|
[polib]: https://bitbucket.org/izi/polib/issue/42
|
||||||
|
@ -16,10 +16,10 @@ fi
|
|||||||
|
|
||||||
echo "Installing pip requirements"
|
echo "Installing pip requirements"
|
||||||
if [ "$(uname)" == "Darwin" ]; then
|
if [ "$(uname)" == "Darwin" ]; then
|
||||||
pip install -r requirements-osx.txt
|
pip install -r requirements-osx.txt --allow-external polib --allow-unverified polib
|
||||||
else
|
else
|
||||||
python3 -c "import PyQt4" >/dev/null 2>&1 || { echo >&2 "PyQt 4.8+ required. Install it and try again. Aborting"; exit 1; }
|
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
|
fi
|
||||||
|
|
||||||
echo "Bootstrapping complete! You can now configure, build and run dupeGuru with:"
|
echo "Bootstrapping complete! You can now configure, build and run dupeGuru with:"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user