You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
_xeroxz
095f1b17d0
|
3 years ago | |
---|---|---|
.. | ||
debian | 3 years ago | |
keystone | 3 years ago | |
LICENSE.TXT | 3 years ago | |
MANIFEST.in | 3 years ago | |
Makefile | 3 years ago | |
README.md | 3 years ago | |
README.pypi-src | 3 years ago | |
build_wheel.sh | 3 years ago | |
sample.py | 3 years ago | |
sample_asm_count.py | 3 years ago | |
setup.cfg | 3 years ago | |
setup.py | 3 years ago |
README.md
To install Python binding from Pypi (binary), simply do:
pip install keystone-engine
In case you want to install from source code, follow the below steps.
-
Install the core engine as dependency
Follow README.md in the root directory to compile & install the core.
-
To install pure Python binding on *nix, run the command below in the Python bindings directory:
$ sudo make install
To install Python3 binding package, run the command below: (Note: this requires python3 installed in your machine)
$ sudo make install3
For example how to use Keystone API, see sample.py
- To install Python binding on Windows:
Run the following command in command prompt:
C:\> C:\location_to_python\python.exe setup.py install
Next, copy all the DLL files from the 'Core engine for Windows' package available on the same Keystone download page and paste it in the path:
C:\location_to_python\Lib\site-packages\keystone\