##// END OF EJS Templates
Merge in all development done in bzr since February 16 2008....
Merge in all development done in bzr since February 16 2008. At that time, a clean bzr branch was started from the SVN tree, but without SVN history. That SVN history has now been used as the basis of this branch, and the development done on the history-less BZR branch has been added and is the content of this merge. This branch will be the new official main line of development in Launchpad (equivalent to the old SVN trunk).

File last commit:

r1206:86a76129
r1218:6b454030 merge
Show More
mkrel.py
48 lines | 1.0 KiB | text/x-python | PythonLexer
Fernando Perez
Fixes to build/doc scripts.
r1206 #!/usr/bin/env python
"""IPython release script
ville
initialization (no svn history)
r988
Fernando Perez
Fixes to build/doc scripts.
r1206 Create ipykit and exe installer
ville
initialization (no svn history)
r988
Fernando Perez
Fixes to build/doc scripts.
r1206 requires py2exe
ville
initialization (no svn history)
r988 """
import os
import distutils.dir_util
import sys
execfile('../IPython/Release.py')
def c(cmd):
print ">",cmd
os.system(cmd)
ipykit_name = "ipykit-%s" % version
os.chdir('..')
if os.path.isdir('dist'):
distutils.dir_util.remove_tree('dist')
if os.path.isdir(ipykit_name):
distutils.dir_util.remove_tree(ipykit_name)
Ville M. Vainio
mkrel changes (copy stff from 'release' sh script)
r1197 if sys.platform == 'win32':
c("python exesetup.py py2exe")
ville
initialization (no svn history)
r988
Ville M. Vainio
mkrel changes (copy stff from 'release' sh script)
r1197 os.rename('dist',ipykit_name)
ville
initialization (no svn history)
r988
Ville M. Vainio
mkrel changes (copy stff from 'release' sh script)
r1197 c("zip -r %s.zip %s" % (ipykit_name, ipykit_name))
# Build source and binary distros
c('./setup.py sdist --formats=gztar')
c("python2.4 ./setup.py bdist_rpm --binary-only --release=py24 --python=/usr/bin/python2.4")
c("python2.5 ./setup.py bdist_rpm --binary-only --release=py25 --python=/usr/bin/python2.5")
# Build eggs
c('python2.4 ./eggsetup.py bdist_egg')
c('python2.5 ./eggsetup.py bdist_egg')
ville
initialization (no svn history)
r988
c("python setup.py bdist_wininst --install-script=ipython_win_post_install.py")
Ville M. Vainio
mkrel changes (copy stff from 'release' sh script)
r1197 os.chdir('tools')
c('python make_tarball.py')