mirror of
https://github.com/cemu-project/idapython.git
synced 2024-11-30 21:14:20 +01:00
build.py: now build.py will use the "IDA" environment variable (if it exists) to tell where the SDK is.
(for example if IDA=$HOME/idasdk, then build will use $IDA/include and $IDA/libXXXXX)
This commit is contained in:
parent
b09eea4de8
commit
2f31ce656b
10
build.py
10
build.py
@ -23,8 +23,11 @@ from distutils import sysconfig
|
|||||||
VERBOSE = True
|
VERBOSE = True
|
||||||
IDA_MAJOR_VERSION = 5
|
IDA_MAJOR_VERSION = 5
|
||||||
IDA_MINOR_VERSION = 4
|
IDA_MINOR_VERSION = 4
|
||||||
IDA_SDK = ".." + os.sep + "swigsdk-versions" + os.sep + "%d.%d" % (IDA_MAJOR_VERSION, IDA_MINOR_VERSION)
|
if os.environ.has_key('IDA'):
|
||||||
#IDA_SDK = ".." + os.sep + ".."
|
IDA_SDK = os.environ['IDA']
|
||||||
|
else:
|
||||||
|
IDA_SDK = ".." + os.sep + "swigsdk-versions" + os.sep + "%d.%d" % (IDA_MAJOR_VERSION, IDA_MINOR_VERSION)
|
||||||
|
|
||||||
# End of user configurable options
|
# End of user configurable options
|
||||||
|
|
||||||
# IDAPython version
|
# IDAPython version
|
||||||
@ -75,7 +78,8 @@ BINDIST_MANIFEST = [
|
|||||||
"examples/ex_func_chooser.py",
|
"examples/ex_func_chooser.py",
|
||||||
"examples/ex_choose2.py",
|
"examples/ex_choose2.py",
|
||||||
"examples/ex_debug_names.py",
|
"examples/ex_debug_names.py",
|
||||||
"examples/ex_graph.py"
|
"examples/ex_graph.py",
|
||||||
|
"examples/ex_dbg.py"
|
||||||
]
|
]
|
||||||
|
|
||||||
# List files for the source distribution (appended to binary list)
|
# List files for the source distribution (appended to binary list)
|
||||||
|
Loading…
Reference in New Issue
Block a user