Created
October 12, 2015 19:23
-
-
Save williballenthin/ddb516208f5481c4e02a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # arch dependencies | |
| sudo pacman -S python3 python-pyqt5 git | |
| sudo pip3 install virtualenv | |
| # prepare a clean Python environment | |
| mkdir env; virtualenv -p python3 env | |
| # need to manually load PyQt binary files | |
| ln -s /usr/lib/python3.5/site-packages/PyQt5 "$(pwd)"/env/lib/python3.5/site-packages/PyQt5 | |
| ln -s /usr/lib/python3.5/site-packages/sip.so "$(pwd)"/env/lib/python3.5/site-packages/sip.so | |
| # install library and dependencies | |
| env/bin/pip install python-cim | |
| # fetch repo that contains sample scripts | |
| git clone https://github.com/fireeye/flare-wmi.git | |
| # go! | |
| # env/bin/python flare-wmi/python-cim/samples/ui.py win7 ~/Desktop/the/repo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment