summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2014-09-19 11:02:37 -0500
committerRuben Pollan <meskio@sindominio.net>2014-09-19 11:02:37 -0500
commit0b3b0031a0271c2e49c9f19b6ff4b74e0de084d6 (patch)
treeb8ffa66f2a514b92779bbfb377d88431ea9f64ab /Makefile
parent94b1b7d4f9ebfed6d1f21646c5709d9f38642af4 (diff)
parentf66493426a7d0839801c81089ade6511efa1be3a (diff)
Merge branch 'kali/use-wheels' into develop
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0008cb39..bbeebc36 100644
--- a/Makefile
+++ b/Makefile
@@ -95,5 +95,19 @@ resource_graph:
./pkg/scripts/monitor_resource.zsh `pgrep bitmask` $(RESOURCE_TIME)
display bitmask-resources.png
+get_wheels:
+ pip install --upgrade setuptools
+ pip install --upgrade pip
+ pip install wheel
+
+gather_wheels:
+ pip wheel --wheel-dir=../wheelhouse pyzmq --build-option "--zmq=bundled"
+ # because fuck u1db externals, that's why...
+ pip wheel --wheel-dir=../wheelhouse --allow-external dirspec --allow-unverified dirspec --allow-external u1db --allow-unverified u1db -r pkg/requirements.pip
+
+install_wheel:
+ # if it's the first time, you'll need to get_wheels first
+ pip install --pre --use-wheel --no-index --find-links=../wheelhouse -r pkg/requirements.pip
+
clean :
$(RM) $(COMPILED_UI) $(COMPILED_RESOURCES) $(COMPILED_UI:.py=.pyc) $(COMPILED_RESOURCES:.py=.pyc)