File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222# because bdist_rpm does not accept dashes (an RPM) convention, and
2323# bdist_deb does not accept underscores (a Debian convention).
2424
25- revision = '113 '
25+ revision = '114 '
2626branch = 'ipython'
2727
2828if branch == 'ipython' :
Original file line number Diff line number Diff line change 11import os ,sys ,shutil
22
3+
34basever = '0.8.3'
45
56def oscmd (c ):
@@ -19,7 +20,7 @@ def verinfo():
1920basename = 'ipython'
2021
2122#tarname = '%s.r%s.tgz' % (basename, ver)
22- oscmd ('update_revnum.py' )
23+ oscmd ('python update_revnum.py' )
2324
2425ver = verinfo ()
2526
Original file line number Diff line number Diff line change @@ -26,14 +26,25 @@ def c(cmd):
2626if os .path .isdir (ipykit_name ):
2727 distutils .dir_util .remove_tree (ipykit_name )
2828
29- c ("python exesetup.py py2exe" )
29+ if sys .platform == 'win32' :
30+ c ("python exesetup.py py2exe" )
3031
31- os .rename ('dist' ,ipykit_name )
32+ os .rename ('dist' ,ipykit_name )
3233
33- c ("zip -r %s.zip %s" % (ipykit_name , ipykit_name ))
34+ c ("zip -r %s.zip %s" % (ipykit_name , ipykit_name ))
35+
36+ # Build source and binary distros
37+ c ('./setup.py sdist --formats=gztar' )
38+
39+ c ("python2.4 ./setup.py bdist_rpm --binary-only --release=py24 --python=/usr/bin/python2.4" )
40+ c ("python2.5 ./setup.py bdist_rpm --binary-only --release=py25 --python=/usr/bin/python2.5" )
41+
42+ # Build eggs
43+ c ('python2.4 ./eggsetup.py bdist_egg' )
44+ c ('python2.5 ./eggsetup.py bdist_egg' )
3445
3546c ("python setup.py bdist_wininst --install-script=ipython_win_post_install.py" )
3647
37- os .chdir ("dist" )
38- #c("svn export http://ipython.scipy.org/svn/ipython/ipython/trunk ipython" )
39- #c("zip -r ipython_svn.zip ipython")
48+ os .chdir ('tools' )
49+ c ( 'python make_tarball.py' )
50+
You can’t perform that action at this time.
0 commit comments