mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-19 19:13:22 +08:00
[0.3.x] updated : build scripts
git-svn-id: https://pykd.svn.codeplex.com/svn@90667 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
5025a7c05b
commit
8eab57aa3c
4
setup/buildall.cmd
Normal file
4
setup/buildall.cmd
Normal file
@ -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
|
@ -8,7 +8,7 @@ import zipfile
|
|||||||
|
|
||||||
_name = "pykd"
|
_name = "pykd"
|
||||||
_desc = "python windbg extension"
|
_desc = "python windbg extension"
|
||||||
_version = '0.3.0.25'
|
_version = '0.3.0.26'
|
||||||
|
|
||||||
def makeWheel(args):
|
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') )
|
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:
|
with zipfile.ZipFile(os.path.join(os.path.curdir, 'dist', zip_name), mode='w' ) as archive:
|
||||||
for srcFile in os.listdir(package_dir):
|
for srcFile in os.listdir(package_dir):
|
||||||
print "zipped %s" % (srcFile)
|
print "zipped %s" % (srcFile)
|
||||||
|
Loading…
Reference in New Issue
Block a user