summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2015-01-26 18:55:06 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2015-01-26 18:55:06 -0300
commitff441f7c59f9a60ccbdb5d72feb920175dbc19f3 (patch)
tree6630537c3c246f0fcd1d3e9d9c75e5652d550294
parent48e7bdc5359ea558d0c46c3a47f78e198bf16f43 (diff)
Don't use pip and add gnupg hack.
-rw-r--r--bundler/actions.py6
-rwxr-xr-xcreatebundle.sh4
2 files changed, 5 insertions, 5 deletions
diff --git a/bundler/actions.py b/bundler/actions.py
index b36e280..89965fb 100644
--- a/bundler/actions.py
+++ b/bundler/actions.py
@@ -23,7 +23,6 @@ if IS_WIN:
from pbs import cd, glob
git = pbs.Command("C:\\Program Files\\Git\\bin\\git.exe")
python = pbs.Command("C:\\Python27\\python.exe")
- pip = pbs.Command("C:\\Python27\\scripts\\pip.exe")
mkdir = pbs.Command("C:\\Program Files\\Git\\bin\\mkdir.exe")
make = pbs.Command("C:\\MinGW\\bin\\mingw32-make.exe")
cp = pbs.Command("C:\\Program Files\\Git\\bin\\cp.exe")
@@ -33,7 +32,7 @@ if IS_WIN:
tar = pbs.Command("C:\\Program Files\\Git\\bin\\tar.exe")
mv = pbs.Command("C:\\Program Files\\Git\\bin\\mv.exe")
else:
- from sh import git, cd, python, mkdir, make, cp, glob, pip, rm
+ from sh import git, cd, python, mkdir, make, cp, glob, rm
from sh import find, ln, tar, mv, strip
from depcollector import collect_deps
@@ -205,14 +204,11 @@ class PythonSetupAll(Action):
if repo == "soledad":
for subrepo in ["common", "client"]:
with push_pop(repo, subrepo):
- pip("install", "-r", "pkg/requirements.pip")
python("setup.py", "develop")
sys.path.append(os.path.join(self._basedir,
repo, subrepo, "src"))
else:
with push_pop(repo):
- pip("install", "-r", "pkg/requirements.pip")
-
if repo == "bitmask_client":
self._build_client(repo, binaries_path)
diff --git a/createbundle.sh b/createbundle.sh
index b751d80..0b86626 100755
--- a/createbundle.sh
+++ b/createbundle.sh
@@ -202,6 +202,10 @@ run_bundler() {
copy_binaries
$bundler --do pythonsetup
+
+ # hack to solve gnupg version problem
+ pip uninstall -y gnupg && pip install gnupg
+
$bundler --skip gitclone gitcheckout pythonsetup
}