##// END OF EJS Templates
do export in make_tarball
vivainio -
Show More
@@ -1,86 +1,86 b''
1 1 # -*- coding: utf-8 -*-
2 2 """Release data for the IPython project.
3 3
4 $Id: Release.py 1965 2006-12-07 16:07:14Z vivainio $"""
4 $Id: Release.py 1968 2006-12-07 18:14:03Z vivainio $"""
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 = '1964M'
25 revision = '1967'
26 26
27 27 #version = '0.7.3.svn'
28 28
29 version = '0.7.3.svn.r' + revision.rstrip('M')
29 version = '0.7.3b2.r' + revision.rstrip('M')
30 30
31 31
32 32 description = "An enhanced interactive Python shell."
33 33
34 34 long_description = \
35 35 """
36 36 IPython provides a replacement for the interactive Python interpreter with
37 37 extra functionality.
38 38
39 39 Main features:
40 40
41 41 * Comprehensive object introspection.
42 42
43 43 * Input history, persistent across sessions.
44 44
45 45 * Caching of output results during a session with automatically generated
46 46 references.
47 47
48 48 * Readline based name completion.
49 49
50 50 * Extensible system of 'magic' commands for controlling the environment and
51 51 performing many tasks related either to IPython or the operating system.
52 52
53 53 * Configuration system with easy switching between different setups (simpler
54 54 than changing $PYTHONSTARTUP environment variables every time).
55 55
56 56 * Session logging and reloading.
57 57
58 58 * Extensible syntax processing for special purpose situations.
59 59
60 60 * Access to the system shell with user-extensible alias system.
61 61
62 62 * Easily embeddable in other Python programs.
63 63
64 64 * Integrated access to the pdb debugger and the Python profiler.
65 65
66 66 The latest development version is always available at the IPython subversion
67 67 repository_.
68 68
69 69 .. _repository: http://ipython.scipy.org/svn/ipython/ipython/trunk#egg=ipython-dev
70 70 """
71 71
72 72 license = 'BSD'
73 73
74 74 authors = {'Fernando' : ('Fernando Perez','fperez@colorado.edu'),
75 75 'Janko' : ('Janko Hauser','jhauser@zscout.de'),
76 76 'Nathan' : ('Nathaniel Gray','n8gray@caltech.edu'),
77 77 'Ville' : ('Ville Vainio','vivainio@gmail.com')
78 78 }
79 79
80 80 url = 'http://ipython.scipy.org'
81 81
82 82 download_url = 'http://ipython.scipy.org/dist'
83 83
84 84 platforms = ['Linux','Mac OSX','Windows XP/2000/NT','Windows 95/98/ME']
85 85
86 86 keywords = ['Interactive','Interpreter','Shell']
@@ -1,27 +1,28 b''
1 1 import os,sys,shutil
2 2
3 3 repo = "http://ipython.scipy.org/svn/ipython/ipython/trunk"
4 4 basename = 'ipython'
5 5 workdir = './mkdist'
6 6
7 7 workdir = os.path.abspath(workdir)
8 8
9 9 print "working at",workdir
10 10 def oscmd(c):
11 11 print ">",c
12 12 s = os.system(c)
13 13 if s:
14 14 print "Error",s
15 15 sys.exit(s)
16 16
17 17
18 18 assert not os.path.isdir(workdir)
19 19 os.mkdir(workdir)
20 20 os.chdir(workdir)
21 21
22 oscmd('svn co %s %s' % (repo,basename))
23 ver = os.popen('svnversion %s' % basename).read().strip()
22 oscmd('svn export %s %s' % (repo,basename))
23 ver = os.popen('svnversion ../..').read().strip()
24 24 tarname = '%s.r%s.tgz' % (basename, ver)
25 25 oscmd('tar czvf ../%s %s' % (tarname, basename))
26 26 print "Produced: ",os.path.abspath('../' + tarname)
27 os.chdir('/')
27 28 shutil.rmtree(workdir)
General Comments 0
You need to be logged in to leave comments. Login now