Show More
@@ -1,83 +1,83 b'' | |||||
1 | # -*- coding: utf-8 -*- |
|
1 | # -*- coding: utf-8 -*- | |
2 | """Release data for the IPython project. |
|
2 | """Release data for the IPython project. | |
3 |
|
3 | |||
4 | $Id: Release.py 3002 2008-02-01 07:17:00Z fperez $""" |
|
4 | $Id: Release.py 3002 2008-02-01 07:17:00Z fperez $""" | |
5 |
|
5 | |||
6 | #***************************************************************************** |
|
6 | #***************************************************************************** | |
7 | # Copyright (C) 2001-2006 Fernando Perez <fperez@colorado.edu> |
|
7 | # Copyright (C) 2001-2006 Fernando Perez <fperez@colorado.edu> | |
8 | # |
|
8 | # | |
9 | # Copyright (c) 2001 Janko Hauser <jhauser@zscout.de> and Nathaniel Gray |
|
9 | # Copyright (c) 2001 Janko Hauser <jhauser@zscout.de> and Nathaniel Gray | |
10 | # <n8gray@caltech.edu> |
|
10 | # <n8gray@caltech.edu> | |
11 | # |
|
11 | # | |
12 | # Distributed under the terms of the BSD License. The full license is in |
|
12 | # Distributed under the terms of the BSD License. The full license is in | |
13 | # the file COPYING, distributed as part of this software. |
|
13 | # the file COPYING, distributed as part of this software. | |
14 | #***************************************************************************** |
|
14 | #***************************************************************************** | |
15 |
|
15 | |||
16 | # Name of the package for release purposes. This is the name which labels |
|
16 | # Name of the package for release purposes. This is the name which labels | |
17 | # the tarballs and RPMs made by distutils, so it's best to lowercase it. |
|
17 | # the tarballs and RPMs made by distutils, so it's best to lowercase it. | |
18 | name = 'ipython' |
|
18 | name = 'ipython' | |
19 |
|
19 | |||
20 | # For versions with substrings (like 0.6.16.svn), use an extra . to separate |
|
20 | # For versions with substrings (like 0.6.16.svn), use an extra . to separate | |
21 | # the new substring. We have to avoid using either dashes or underscores, |
|
21 | # the new substring. We have to avoid using either dashes or underscores, | |
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 = '4 |
|
25 | revision = '54' | |
26 |
|
26 | |||
27 | version = '0.8.3.bzr.r' + revision |
|
27 | version = '0.8.3.bzr.r' + revision | |
28 |
|
28 | |||
29 | description = "An enhanced interactive Python shell." |
|
29 | description = "An enhanced interactive Python shell." | |
30 |
|
30 | |||
31 | long_description = \ |
|
31 | long_description = \ | |
32 | """ |
|
32 | """ | |
33 | IPython provides a replacement for the interactive Python interpreter with |
|
33 | IPython provides a replacement for the interactive Python interpreter with | |
34 | extra functionality. |
|
34 | extra functionality. | |
35 |
|
35 | |||
36 | Main features: |
|
36 | Main features: | |
37 |
|
37 | |||
38 | * Comprehensive object introspection. |
|
38 | * Comprehensive object introspection. | |
39 |
|
39 | |||
40 | * Input history, persistent across sessions. |
|
40 | * Input history, persistent across sessions. | |
41 |
|
41 | |||
42 | * Caching of output results during a session with automatically generated |
|
42 | * Caching of output results during a session with automatically generated | |
43 | references. |
|
43 | references. | |
44 |
|
44 | |||
45 | * Readline based name completion. |
|
45 | * Readline based name completion. | |
46 |
|
46 | |||
47 | * Extensible system of 'magic' commands for controlling the environment and |
|
47 | * Extensible system of 'magic' commands for controlling the environment and | |
48 | performing many tasks related either to IPython or the operating system. |
|
48 | performing many tasks related either to IPython or the operating system. | |
49 |
|
49 | |||
50 | * Configuration system with easy switching between different setups (simpler |
|
50 | * Configuration system with easy switching between different setups (simpler | |
51 | than changing $PYTHONSTARTUP environment variables every time). |
|
51 | than changing $PYTHONSTARTUP environment variables every time). | |
52 |
|
52 | |||
53 | * Session logging and reloading. |
|
53 | * Session logging and reloading. | |
54 |
|
54 | |||
55 | * Extensible syntax processing for special purpose situations. |
|
55 | * Extensible syntax processing for special purpose situations. | |
56 |
|
56 | |||
57 | * Access to the system shell with user-extensible alias system. |
|
57 | * Access to the system shell with user-extensible alias system. | |
58 |
|
58 | |||
59 | * Easily embeddable in other Python programs. |
|
59 | * Easily embeddable in other Python programs. | |
60 |
|
60 | |||
61 | * Integrated access to the pdb debugger and the Python profiler. |
|
61 | * Integrated access to the pdb debugger and the Python profiler. | |
62 |
|
62 | |||
63 | The latest development version is always available at the IPython subversion |
|
63 | The latest development version is always available at the IPython subversion | |
64 | repository_. |
|
64 | repository_. | |
65 |
|
65 | |||
66 | .. _repository: http://ipython.scipy.org/svn/ipython/ipython/trunk#egg=ipython-dev |
|
66 | .. _repository: http://ipython.scipy.org/svn/ipython/ipython/trunk#egg=ipython-dev | |
67 | """ |
|
67 | """ | |
68 |
|
68 | |||
69 | license = 'BSD' |
|
69 | license = 'BSD' | |
70 |
|
70 | |||
71 | authors = {'Fernando' : ('Fernando Perez','fperez@colorado.edu'), |
|
71 | authors = {'Fernando' : ('Fernando Perez','fperez@colorado.edu'), | |
72 | 'Janko' : ('Janko Hauser','jhauser@zscout.de'), |
|
72 | 'Janko' : ('Janko Hauser','jhauser@zscout.de'), | |
73 | 'Nathan' : ('Nathaniel Gray','n8gray@caltech.edu'), |
|
73 | 'Nathan' : ('Nathaniel Gray','n8gray@caltech.edu'), | |
74 | 'Ville' : ('Ville Vainio','vivainio@gmail.com') |
|
74 | 'Ville' : ('Ville Vainio','vivainio@gmail.com') | |
75 | } |
|
75 | } | |
76 |
|
76 | |||
77 | url = 'http://ipython.scipy.org' |
|
77 | url = 'http://ipython.scipy.org' | |
78 |
|
78 | |||
79 | download_url = 'http://ipython.scipy.org/dist' |
|
79 | download_url = 'http://ipython.scipy.org/dist' | |
80 |
|
80 | |||
81 | platforms = ['Linux','Mac OSX','Windows XP/2000/NT','Windows 95/98/ME'] |
|
81 | platforms = ['Linux','Mac OSX','Windows XP/2000/NT','Windows 95/98/ME'] | |
82 |
|
82 | |||
83 | keywords = ['Interactive','Interpreter','Shell'] |
|
83 | keywords = ['Interactive','Interpreter','Shell'] |
@@ -1,28 +1,32 b'' | |||||
1 | import os,sys,shutil |
|
1 | import os,sys,shutil | |
2 |
|
2 | |||
3 | repo = "http://ipython.scipy.org/svn/ipython/ipython/branches/0.7.3" |
|
3 | basever = '0.8.3' | |
4 | basename = 'ipython' |
|
|||
5 | workdir = './mkdist' |
|
|||
6 |
|
||||
7 | workdir = os.path.abspath(workdir) |
|
|||
8 |
|
4 | |||
9 | print "working at",workdir |
|
|||
10 | def oscmd(c): |
|
5 | def oscmd(c): | |
11 | print ">",c |
|
6 | print ">",c | |
12 | s = os.system(c) |
|
7 | s = os.system(c) | |
13 | if s: |
|
8 | if s: | |
14 | print "Error",s |
|
9 | print "Error",s | |
15 | sys.exit(s) |
|
10 | sys.exit(s) | |
16 |
|
11 | |||
|
12 | def verinfo(): | |||
|
13 | ||||
|
14 | out = os.popen('bzr version-info') | |||
|
15 | pairs = (l.split(':',1) for l in out) | |||
|
16 | d = dict(((k,v.strip()) for (k,v) in pairs)) | |||
|
17 | return d | |||
|
18 | ||||
|
19 | basename = 'ipython' | |||
|
20 | ||||
|
21 | #tarname = '%s.r%s.tgz' % (basename, ver) | |||
|
22 | oscmd('update_revnum.py') | |||
|
23 | ||||
|
24 | ver = verinfo() | |||
17 |
|
25 | |||
18 | assert not os.path.isdir(workdir) |
|
26 | if ver['branch-nick'] == 'ipython': | |
19 | os.mkdir(workdir) |
|
27 | tarname = 'ipython-%s.bzr.r%s.tgz' % (basever, ver['revno']) | |
20 | os.chdir(workdir) |
|
28 | else: | |
|
29 | tarname = 'ipython-%s.bzr.r%s.%s.tgz' % (basever, ver['revno'], ver['branch-nick']) | |||
|
30 | ||||
|
31 | oscmd('bzr export ' + tarname) | |||
21 |
|
32 | |||
22 | oscmd('svn export %s %s' % (repo,basename)) |
|
|||
23 | ver = os.popen('svnversion ../..').read().strip() |
|
|||
24 | tarname = '%s.r%s.tgz' % (basename, ver) |
|
|||
25 | oscmd('tar czvf ../%s %s' % (tarname, basename)) |
|
|||
26 | print "Produced: ",os.path.abspath('../' + tarname) |
|
|||
27 | os.chdir('/') |
|
|||
28 | shutil.rmtree(workdir) |
|
General Comments 0
You need to be logged in to leave comments.
Login now