##// END OF EJS Templates
beef up mkrel.py
vivainio -
Show More
@@ -1,16 +1,25 b''
1 """ Create ipykit, source package and exe installer
2
3 requires py2exe
4
5 """
1 6 #!/bin/sh
2 7 # IPython release script
3 8
9
4 10 import os
5 11 import distutils.dir_util
6 12 def c(cmd):
7 13 print ">",cmd
8 14 os.system(cmd)
9 15
10 16 os.chdir('..')
11
12 17 distutils.dir_util.remove_tree('dist')
18 distutils.dir_util.remove_tree('ipykit')
13 19
20 c("python exesetup.py py2exe")
21 os.rename('dist','ipykit')
22
23 c("zip -r ipykit.zip ipykit")
14 24
15 25 c("python setup.py bdist_wininst --install-script=ipython_win_post_install.py")
16 c("python exesetup.py py2exe")
General Comments 0
You need to be logged in to leave comments. Login now