mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-10 05:34:36 +00:00
Tweaked bootstrap script to work on OS X
This commit is contained in:
parent
d11ec557e7
commit
d0a3f081da
@ -4,9 +4,10 @@ command -v pyvenv >/dev/null 2>&1 || { echo >&2 "Python 3.3 required. Install it
|
|||||||
|
|
||||||
if [ ! -d "env" ]; then
|
if [ ! -d "env" ]; then
|
||||||
echo "No virtualenv. Creating one"
|
echo "No virtualenv. Creating one"
|
||||||
|
command -v curl >/dev/null 2>&1 || { echo >&2 "curl required. Install it and try again. Aborting"; exit 1; }
|
||||||
pyvenv --system-site-packages env
|
pyvenv --system-site-packages env
|
||||||
source env/bin/activate
|
source env/bin/activate
|
||||||
wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python
|
curl https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py | python
|
||||||
easy_install pip
|
easy_install pip
|
||||||
else
|
else
|
||||||
echo "There's already an env. Activating it"
|
echo "There's already an env. Activating it"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user