mirror of
https://github.com/bitdefender/bddisasm.git
synced 2025-01-03 11:50:55 +00:00
Move pybddisasm to the bindings directory
This commit is contained in:
parent
146ebc55c5
commit
af3d23e3ff
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -63,7 +63,7 @@ jobs:
|
||||
python3 -m pip install setuptools
|
||||
- name: Build pybddisasm
|
||||
run: |
|
||||
cd pybddisasm
|
||||
cd bindings/pybddisasm
|
||||
python3 setup.py build
|
||||
cd -
|
||||
- name: Create package
|
||||
|
4
.gitignore
vendored
4
.gitignore
vendored
@ -47,9 +47,6 @@ _UpgradeReport_Files/*
|
||||
*.pyc
|
||||
.*.swp
|
||||
*.pyd
|
||||
pydis/pydis.egg-info/
|
||||
pydis/build/
|
||||
pydis/dist/
|
||||
.vs/
|
||||
|
||||
disasmtool_lix/build
|
||||
@ -69,3 +66,4 @@ build/
|
||||
disasmtool_lix/_build
|
||||
rsbddisasm/target
|
||||
rsbddisasm/Cargo.lock
|
||||
bindings/pybddisasm/pybddisasm.egg-info
|
||||
|
@ -96,6 +96,7 @@ static char *TupleTypeToString(ND_TUPLE TupleType)
|
||||
case ND_TUPLE_None: return "None";
|
||||
case ND_TUPLE_FV: return "FV";
|
||||
case ND_TUPLE_HV: return "HV";
|
||||
case ND_TUPLE_QV: return "QV";
|
||||
case ND_TUPLE_T1S8: return "T1S8";
|
||||
case ND_TUPLE_T1S16: return "T1S16";
|
||||
case ND_TUPLE_T1S: return "T1S";
|
@ -20,7 +20,7 @@ requires = ['setuptools']
|
||||
here = os.path.abspath(os.path.dirname(__file__))
|
||||
|
||||
def _check_library_version():
|
||||
version_header = '../inc/version.h'
|
||||
version_header = '../../inc/version.h'
|
||||
with open(version_header, 'r') as file:
|
||||
data = file.read()
|
||||
|
||||
@ -92,8 +92,8 @@ setup(
|
||||
extra_compile_args = ["-march=westmere"],
|
||||
sources = ["_pybddisasm/_pybddisasm.c", "_pybddisasm/pybddisasm.c"],
|
||||
define_macros = [('AMD64', None), ('LIBRARY_INSTRUX_SIZE', LIBRARY_INSTRUX_SIZE)],
|
||||
include_dirs = ['../inc'],
|
||||
include_dirs = ['../../inc'],
|
||||
libraries = ['bddisasm'],
|
||||
library_dirs = ['/usr/local/lib', '../bin/x64/Release'])],
|
||||
library_dirs = ['/usr/local/lib', '../../build', '../../bin/x64/Release'])],
|
||||
distclass=BinaryDistribution
|
||||
)
|
Loading…
Reference in New Issue
Block a user