From 8eab57aa3c8d789e6dcdf7208d86b7a661f3c506 Mon Sep 17 00:00:00 2001 From: "SND\\kernelnet_cp" Date: Tue, 9 Jun 2015 08:26:48 +0000 Subject: [PATCH] [0.3.x] updated : build scripts git-svn-id: https://pykd.svn.codeplex.com/svn@90667 9b283d60-5439-405e-af05-b73fd8c4d996 --- setup/buildall.cmd | 4 ++++ setup/setup.py | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 setup/buildall.cmd diff --git a/setup/buildall.cmd b/setup/buildall.cmd new file mode 100644 index 0000000..7b02efc --- /dev/null +++ b/setup/buildall.cmd @@ -0,0 +1,4 @@ +python setup.py bdist_zip --plat-name=win32 +python setup.py bdist_zip --plat-name=win-amd64 +python setup.py bdist_wheel --plat-name=win32 +python setup.py bdist_wheel --plat-name=win-amd64 \ No newline at end of file diff --git a/setup/setup.py b/setup/setup.py index b824fcf..040cdc0 100644 --- a/setup/setup.py +++ b/setup/setup.py @@ -8,7 +8,7 @@ import zipfile _name = "pykd" _desc = "python windbg extension" -_version = '0.3.0.25' +_version = '0.3.0.26' def makeWheel(args): @@ -91,6 +91,10 @@ def makeZip(args): shutil.copy( os.path.join(pykd_dir, 'pykd.pyd'), os.path.join(package_dir, 'pykd.pyd') ) + dist_dir = os.path.join(os.path.curdir, 'dist') + if not os.path.exists(dist_dir): + os.mkdir(dist_dir) + with zipfile.ZipFile(os.path.join(os.path.curdir, 'dist', zip_name), mode='w' ) as archive: for srcFile in os.listdir(package_dir): print "zipped %s" % (srcFile)