build.py: Small formatting fixes

This commit is contained in:
gergely.erdelyi 2008-08-15 20:59:06 +00:00
parent d06fa3e155
commit 9498c80547

View File

@ -11,7 +11,11 @@
#------------------------------------------------------------ #------------------------------------------------------------
# build.py - Custom build script # build.py - Custom build script
#------------------------------------------------------------ #------------------------------------------------------------
import os, sys, platform, types, shutil import os
import platform
import shutil
import sys
import types
import zipfile import zipfile
from distutils import sysconfig from distutils import sysconfig
@ -65,7 +69,8 @@ BINDIST_MANIFEST = [
"examples/debughook.py", "examples/debughook.py",
"examples/ex1.idc", "examples/ex1.idc",
"examples/ex1_idaapi.py", "examples/ex1_idaapi.py",
"examples/ex1_idautils.py" ] "examples/ex1_idautils.py"
]
# List files for the source distribution (appended to binary list) # List files for the source distribution (appended to binary list)
SRCDIST_MANIFEST = [ SRCDIST_MANIFEST = [
@ -381,17 +386,17 @@ if __name__ == "__main__":
platform_string = "macosx" platform_string = "macosx"
plugin_name = "python.pmc" plugin_name = "python.pmc"
BINDISTDIR = "idapython-%d.%d.%d_ida%d.%d_py%d.%d_%s" % ( VERSION_MAJOR, BINDISTDIR = "idapython-%d.%d.%d_ida%d.%d_py%d.%d_%s" % (VERSION_MAJOR,
VERSION_MINOR, VERSION_MINOR,
VERSION_PATCH, VERSION_PATCH,
IDA_MAJOR_VERSION, IDA_MAJOR_VERSION,
IDA_MINOR_VERSION, IDA_MINOR_VERSION,
PYTHON_MAJOR_VERSION, PYTHON_MAJOR_VERSION,
PYTHON_MINOR_VERSION, PYTHON_MINOR_VERSION,
platform_string) platform_string)
SRCDISTDIR = "idapython-%d.%d.%d" % ( VERSION_MAJOR, SRCDISTDIR = "idapython-%d.%d.%d" % (VERSION_MAJOR,
VERSION_MINOR, VERSION_MINOR,
VERSION_PATCH ) VERSION_PATCH)
# Build the plugin # Build the plugin
res = build_plugin(system, IDA_SDK) res = build_plugin(system, IDA_SDK)