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