Show More
@@ -20,10 +20,11 b" name = 'ipython'" | |||||
20 | # release. 'dev' as a _version_extra string means this is a development |
|
20 | # release. 'dev' as a _version_extra string means this is a development | |
21 | # version |
|
21 | # version | |
22 | _version_major = 0 |
|
22 | _version_major = 0 | |
23 |
_version_minor = 1 |
|
23 | _version_minor = 13 | |
24 | _version_micro = '' # use '' for first of series, number for 1 and above |
|
24 | _version_micro = '' # use '' for first of series, number for 1 and above | |
|
25 | _version_extra = 'dev' | |||
25 | #_version_extra = 'rc1' |
|
26 | #_version_extra = 'rc1' | |
26 | _version_extra = '' # Uncomment this for full releases |
|
27 | #_version_extra = '' # Uncomment this for full releases | |
27 |
|
28 | |||
28 | # Construct full version string from these. |
|
29 | # Construct full version string from these. | |
29 | _ver = [_version_major, _version_minor] |
|
30 | _ver = [_version_major, _version_minor] |
@@ -104,14 +104,16 b" if __name__ == '__main__':" | |||||
104 | # sh('make html') |
|
104 | # sh('make html') | |
105 | if tag != 'dev': |
|
105 | if tag != 'dev': | |
106 | # only build pdf for non-dev targets |
|
106 | # only build pdf for non-dev targets | |
107 | sh2('make pdf') |
|
107 | #sh2('make pdf') | |
|
108 | pass | |||
108 |
|
109 | |||
109 | # This is pretty unforgiving: we unconditionally nuke the destination |
|
110 | # This is pretty unforgiving: we unconditionally nuke the destination | |
110 | # directory, and then copy the html tree in there |
|
111 | # directory, and then copy the html tree in there | |
111 | shutil.rmtree(dest, ignore_errors=True) |
|
112 | shutil.rmtree(dest, ignore_errors=True) | |
112 | shutil.copytree(html_dir, dest) |
|
113 | shutil.copytree(html_dir, dest) | |
113 | if tag != 'dev': |
|
114 | if tag != 'dev': | |
114 | shutil.copy(pjoin(pdf_dir, 'ipython.pdf'), pjoin(dest, 'ipython.pdf')) |
|
115 | #shutil.copy(pjoin(pdf_dir, 'ipython.pdf'), pjoin(dest, 'ipython.pdf')) | |
|
116 | pass | |||
115 |
|
117 | |||
116 | try: |
|
118 | try: | |
117 | cd(pages_dir) |
|
119 | cd(pages_dir) |
General Comments 0
You need to be logged in to leave comments.
Login now