Show More
@@ -22,7 +22,7 b" name = 'ipython'" | |||||
22 | # because bdist_rpm does not accept dashes (an RPM) convention, and |
|
22 | # because bdist_rpm does not accept dashes (an RPM) convention, and | |
23 | # bdist_deb does not accept underscores (a Debian convention). |
|
23 | # bdist_deb does not accept underscores (a Debian convention). | |
24 |
|
24 | |||
25 |
revision = '11 |
|
25 | revision = '114' | |
26 | branch = 'ipython' |
|
26 | branch = 'ipython' | |
27 |
|
27 | |||
28 | if branch == 'ipython': |
|
28 | if branch == 'ipython': |
@@ -1,5 +1,6 b'' | |||||
1 | import os,sys,shutil |
|
1 | import os,sys,shutil | |
2 |
|
2 | |||
|
3 | ||||
3 | basever = '0.8.3' |
|
4 | basever = '0.8.3' | |
4 |
|
5 | |||
5 | def oscmd(c): |
|
6 | def oscmd(c): | |
@@ -19,7 +20,7 b' def verinfo():' | |||||
19 | basename = 'ipython' |
|
20 | basename = 'ipython' | |
20 |
|
21 | |||
21 | #tarname = '%s.r%s.tgz' % (basename, ver) |
|
22 | #tarname = '%s.r%s.tgz' % (basename, ver) | |
22 | oscmd('update_revnum.py') |
|
23 | oscmd('python update_revnum.py') | |
23 |
|
24 | |||
24 | ver = verinfo() |
|
25 | ver = verinfo() | |
25 |
|
26 |
@@ -26,14 +26,25 b" if os.path.isdir('dist'):" | |||||
26 | if os.path.isdir(ipykit_name): |
|
26 | if os.path.isdir(ipykit_name): | |
27 | distutils.dir_util.remove_tree(ipykit_name) |
|
27 | distutils.dir_util.remove_tree(ipykit_name) | |
28 |
|
28 | |||
29 | c("python exesetup.py py2exe") |
|
29 | if sys.platform == 'win32': | |
|
30 | c("python exesetup.py py2exe") | |||
30 |
|
31 | |||
31 | os.rename('dist',ipykit_name) |
|
32 | os.rename('dist',ipykit_name) | |
32 |
|
33 | |||
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') | |||
34 |
|
45 | |||
35 | c("python setup.py bdist_wininst --install-script=ipython_win_post_install.py") |
|
46 | c("python setup.py bdist_wininst --install-script=ipython_win_post_install.py") | |
36 |
|
47 | |||
37 |
os.chdir( |
|
48 | os.chdir('tools') | |
38 | #c("svn export http://ipython.scipy.org/svn/ipython/ipython/trunk ipython") |
|
49 | c('python make_tarball.py') | |
39 | #c("zip -r ipython_svn.zip ipython") |
|
50 |
General Comments 0
You need to be logged in to leave comments.
Login now