Show More
@@ -22,7 +22,7 b" name = 'ipython'" | |||
|
22 | 22 | # because bdist_rpm does not accept dashes (an RPM) convention, and |
|
23 | 23 | # bdist_deb does not accept underscores (a Debian convention). |
|
24 | 24 | |
|
25 |
revision = ' |
|
|
25 | revision = '83' | |
|
26 | 26 | branch = 'ipython' |
|
27 | 27 | |
|
28 | 28 | if branch == 'ipython': |
@@ -22,9 +22,8 b' exclude doc/manual/*.log' | |||
|
22 | 22 | exclude doc/manual/*.out |
|
23 | 23 | exclude doc/manual/*.pl |
|
24 | 24 | exclude doc/manual/*.tex |
|
25 |
exclude doc/build |
|
|
26 |
exclude doc/ |
|
|
27 | exclude doc/build/html/_sources/* | |
|
25 | exclude doc/build | |
|
26 | exclude doc/attic | |
|
28 | 27 | |
|
29 | 28 | |
|
30 | 29 | |
@@ -34,3 +33,4 b' global-exclude *.flc' | |||
|
34 | 33 | global-exclude *.pyc |
|
35 | 34 | global-exclude .dircopy.log |
|
36 | 35 | global-exclude .svn |
|
36 | global-exclude .bzr |
|
1 | NO CONTENT: file renamed from doc/ipnb_google_soc.lyx to doc/attic/ipnb_google_soc.lyx |
|
1 | NO CONTENT: file renamed from doc/nbexample.py to doc/attic/nbexample.py |
|
1 | NO CONTENT: file renamed from doc/nbexample_latex.py to doc/attic/nbexample_latex.py |
|
1 | NO CONTENT: file renamed from doc/nbexample_output.py to doc/attic/nbexample_output.py |
|
1 | NO CONTENT: file renamed from doc/new_design.lyx to doc/attic/new_design.lyx |
@@ -1,3 +1,7 b'' | |||
|
1 | #!/usr/bin/env python | |
|
2 | """Script to build documentation using Sphinx. | |
|
3 | """ | |
|
4 | ||
|
1 | 5 | import fileinput,os,sys |
|
2 | 6 | |
|
3 | 7 | def oscmd(c): |
@@ -11,6 +15,7 b" if sys.platform != 'win32':" | |||
|
11 | 15 | oscmd('sphinx-build -b latex -d build/doctrees source build/latex') |
|
12 | 16 | |
|
13 | 17 | # Produce pdf. |
|
18 | topdir = os.getcwd() | |
|
14 | 19 | os.chdir('build/latex') |
|
15 | 20 | |
|
16 | 21 | # Change chapter style to section style: allows chapters to start on |
@@ -60,5 +65,10 b" if sys.platform != 'win32':" | |||
|
60 | 65 | oscmd('makeindex -s python.ist modipython.idx') |
|
61 | 66 | oscmd('pdflatex ipython.tex') |
|
62 | 67 | oscmd('pdflatex ipython.tex') |
|
63 | oscmd('cp ipython.pdf ../html') | |
|
64 | os.chdir('../..') | |
|
68 | ||
|
69 | # Create a manual/ directory with final html/pdf output | |
|
70 | os.chdir(topdir) | |
|
71 | oscmd('rm -rf manual') | |
|
72 | oscmd('mkdir manual') | |
|
73 | oscmd('cp -r build/html/*.html build/html/_static manual/') | |
|
74 | oscmd('cp build/latex/ipython.pdf manual/') |
@@ -1,5 +1,8 b'' | |||
|
1 | import os,sys,shutil | |
|
1 | #!/usr/bin/env python | |
|
2 | """Simple script to create a tarball with proper bzr version info. | |
|
3 | """ | |
|
2 | 4 | |
|
5 | import os,sys,shutil | |
|
3 | 6 | |
|
4 | 7 | basever = '0.8.3' |
|
5 | 8 |
@@ -1,11 +1,10 b'' | |||
|
1 | """ Create ipykit and exe installer | |
|
1 | #!/usr/bin/env python | |
|
2 | """IPython release script | |
|
2 | 3 | |
|
3 | requires py2exe | |
|
4 | Create ipykit and exe installer | |
|
4 | 5 | |
|
6 | requires py2exe | |
|
5 | 7 | """ |
|
6 | #!/bin/sh | |
|
7 | # IPython release script | |
|
8 | ||
|
9 | 8 | |
|
10 | 9 | import os |
|
11 | 10 | import distutils.dir_util |
@@ -19,7 +18,6 b' def c(cmd):' | |||
|
19 | 18 | |
|
20 | 19 | ipykit_name = "ipykit-%s" % version |
|
21 | 20 | |
|
22 | ||
|
23 | 21 | os.chdir('..') |
|
24 | 22 | if os.path.isdir('dist'): |
|
25 | 23 | distutils.dir_util.remove_tree('dist') |
@@ -4,6 +4,7 b'' | |||
|
4 | 4 | PYVER=`python -V 2>&1 | awk '{print $2}' | awk -F '.' '{print $1$2}' ` |
|
5 | 5 | version=`ipython -Version` |
|
6 | 6 | ipdir=~/ipython/ipython |
|
7 | ipbackupdir=~/ipython/backup | |
|
7 | 8 | |
|
8 | 9 | echo |
|
9 | 10 | echo "Releasing IPython version $version" |
@@ -37,7 +38,8 b' rm -rf $ipdir/dist/*' | |||
|
37 | 38 | |
|
38 | 39 | # Perform local backup |
|
39 | 40 | cd $ipdir/tools |
|
40 | ./bkp.sh | |
|
41 | ./make_tarball.py | |
|
42 | mv ipython-*.tgz $ipbackupdir | |
|
41 | 43 | |
|
42 | 44 | # Build source and binary distros |
|
43 | 45 | cd $ipdir |
@@ -50,8 +52,8 b' python2.4 ./setup.py bdist_rpm --binary-only --release=py24 --python=/usr/bin/py' | |||
|
50 | 52 | python2.5 ./setup.py bdist_rpm --binary-only --release=py25 --python=/usr/bin/python2.5 |
|
51 | 53 | |
|
52 | 54 | # Build eggs |
|
53 |
python2.4 ./ |
|
|
54 |
python2.5 ./ |
|
|
55 | python2.4 ./setup_bdist_egg.py | |
|
56 | python2.5 ./setup_bdist_egg.py | |
|
55 | 57 | |
|
56 | 58 | # Call the windows build separately, so that the extra Windows scripts don't |
|
57 | 59 | # get pulled into Unix builds (setup.py has code which checks for |
@@ -72,7 +74,7 b' echo "Uploading distribution files..."' | |||
|
72 | 74 | scp * ipython@ipython.scipy.org:www/dist/ |
|
73 | 75 | |
|
74 | 76 | echo "Uploading backup files..." |
|
75 |
cd |
|
|
77 | cd $ipbackupdir | |
|
76 | 78 | scp `ls -1tr | tail -1` ipython@ipython.scipy.org:www/backup/ |
|
77 | 79 | |
|
78 | 80 | echo "Updating webpage..." |
@@ -86,8 +88,8 b' cd $www' | |||
|
86 | 88 | |
|
87 | 89 | # Alert package maintainers |
|
88 | 90 | echo "Alerting package maintainers..." |
|
89 |
maintainers='fperez@ |
|
|
90 |
|
|
|
91 | #maintainers='fernando.perez@berkeley.edu ariciputi@users.sourceforge.net jack@xiph.org tretkowski@inittab.de dryice@hotpop.com willmaier@ml1.net' | |
|
92 | maintainers='fernando.perez@berkeley.edu' | |
|
91 | 93 | |
|
92 | 94 | for email in $maintainers |
|
93 | 95 | do |
@@ -16,8 +16,8 b' python2.4 ./setup.py bdist_rpm --binary-only --release=py24 --python=/usr/bin/py' | |||
|
16 | 16 | python2.5 ./setup.py bdist_rpm --binary-only --release=py25 --python=/usr/bin/python2.5 |
|
17 | 17 | |
|
18 | 18 | # Build eggs |
|
19 |
python2.4 ./ |
|
|
20 |
python2.5 ./ |
|
|
19 | python2.4 ./setup_bdist_egg.py | |
|
20 | python2.5 ./setup_bdist_egg.py | |
|
21 | 21 | |
|
22 | 22 | # Call the windows build separately, so that the extra Windows scripts don't |
|
23 | 23 | # get pulled into Unix builds (setup.py has code which checks for |
General Comments 0
You need to be logged in to leave comments.
Login now