##// END OF EJS Templates
ipykit improvements (built in Sc1 setup etc.)
ipykit improvements (built in Sc1 setup etc.)

File last commit:

r854:0d487867
r854:0d487867
Show More
mkrel.py
39 lines | 756 B | text/x-python | PythonLexer
vivainio
mkrel does src zip
r767 """ Create ipykit and exe installer
vivainio
beef up mkrel.py
r757
requires py2exe
"""
vivainio
simple win-only pure python release/build script
r756 #!/bin/sh
# IPython release script
vivainio
beef up mkrel.py
r757
vivainio
simple win-only pure python release/build script
r756 import os
import distutils.dir_util
vivainio
ipykit improvements (built in Sc1 setup etc.)
r854 import sys
execfile('../IPython/Release.py')
vivainio
simple win-only pure python release/build script
r756 def c(cmd):
print ">",cmd
os.system(cmd)
vivainio
ipykit improvements (built in Sc1 setup etc.)
r854 ipykit_name = "ipykit-%s" % version
vivainio
simple win-only pure python release/build script
r756 os.chdir('..')
vivainio
Apply Ryan Krauss patch for fixing start menu shortcuts if there are spaces in ipython installation dir name
r771 if os.path.isdir('dist'):
distutils.dir_util.remove_tree('dist')
vivainio
ipykit improvements (built in Sc1 setup etc.)
r854 if os.path.isdir(ipykit_name):
distutils.dir_util.remove_tree(ipykit_name)
vivainio
simple win-only pure python release/build script
r756
vivainio
beef up mkrel.py
r757 c("python exesetup.py py2exe")
vivainio
ipykit improvements (built in Sc1 setup etc.)
r854 os.rename('dist',ipykit_name)
c("zip -r %s.zip %s" % (ipykit_name, ipykit_name))
vivainio
simple win-only pure python release/build script
r756
c("python setup.py bdist_wininst --install-script=ipython_win_post_install.py")
vivainio
mkrel does src zip
r767
os.chdir("dist")
vivainio
ipykit improvements (built in Sc1 setup etc.)
r854 #c("svn export http://ipython.scipy.org/svn/ipython/ipython/trunk ipython")
#c("zip -r ipython_svn.zip ipython")