##// END OF EJS Templates
beef up mkrel.py
vivainio -
Show More
@@ -1,6 +1,12 b''
1 """ Create ipykit, source package and exe installer
2
3 requires py2exe
4
5 """
1 #!/bin/sh
6 #!/bin/sh
2 # IPython release script
7 # IPython release script
3
8
9
4 import os
10 import os
5 import distutils.dir_util
11 import distutils.dir_util
6 def c(cmd):
12 def c(cmd):
@@ -8,9 +14,12 b' def c(cmd):'
8 os.system(cmd)
14 os.system(cmd)
9
15
10 os.chdir('..')
16 os.chdir('..')
11
12 distutils.dir_util.remove_tree('dist')
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 c("python setup.py bdist_wininst --install-script=ipython_win_post_install.py")
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