Show More
@@ -1,99 +1,99 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 | 25 | development = False # change this to False to do a release |
|
26 | 26 | version_base = '0.9.beta' |
|
27 | 27 | branch = 'ipython' |
|
28 |
revision = '109 |
|
|
28 | revision = '1099' | |
|
29 | 29 | |
|
30 | 30 | if development: |
|
31 | 31 | if branch == 'ipython': |
|
32 | 32 | version = '%s.bzr.r%s' % (version_base, revision) |
|
33 | 33 | else: |
|
34 | 34 | version = '%s.bzr.r%s.%s' % (version_base, revision, branch) |
|
35 | 35 | else: |
|
36 | 36 | version = version_base |
|
37 | 37 | |
|
38 | 38 | |
|
39 | 39 | description = "Tools for interactive development in Python." |
|
40 | 40 | |
|
41 | 41 | long_description = \ |
|
42 | 42 | """ |
|
43 | 43 | IPython provides a replacement for the interactive Python interpreter with |
|
44 | 44 | extra functionality. |
|
45 | 45 | |
|
46 | 46 | Main features: |
|
47 | 47 | |
|
48 | 48 | * Comprehensive object introspection. |
|
49 | 49 | |
|
50 | 50 | * Input history, persistent across sessions. |
|
51 | 51 | |
|
52 | 52 | * Caching of output results during a session with automatically generated |
|
53 | 53 | references. |
|
54 | 54 | |
|
55 | 55 | * Readline based name completion. |
|
56 | 56 | |
|
57 | 57 | * Extensible system of 'magic' commands for controlling the environment and |
|
58 | 58 | performing many tasks related either to IPython or the operating system. |
|
59 | 59 | |
|
60 | 60 | * Configuration system with easy switching between different setups (simpler |
|
61 | 61 | than changing $PYTHONSTARTUP environment variables every time). |
|
62 | 62 | |
|
63 | 63 | * Session logging and reloading. |
|
64 | 64 | |
|
65 | 65 | * Extensible syntax processing for special purpose situations. |
|
66 | 66 | |
|
67 | 67 | * Access to the system shell with user-extensible alias system. |
|
68 | 68 | |
|
69 | 69 | * Easily embeddable in other Python programs. |
|
70 | 70 | |
|
71 | 71 | * Integrated access to the pdb debugger and the Python profiler. |
|
72 | 72 | |
|
73 | 73 | The latest development version is always available at the IPython subversion |
|
74 | 74 | repository_. |
|
75 | 75 | |
|
76 | 76 | .. _repository: http://ipython.scipy.org/svn/ipython/ipython/trunk#egg=ipython-dev |
|
77 | 77 | """ |
|
78 | 78 | |
|
79 | 79 | license = 'BSD' |
|
80 | 80 | |
|
81 | 81 | authors = {'Fernando' : ('Fernando Perez','fperez@colorado.edu'), |
|
82 | 82 | 'Janko' : ('Janko Hauser','jhauser@zscout.de'), |
|
83 | 83 | 'Nathan' : ('Nathaniel Gray','n8gray@caltech.edu'), |
|
84 | 84 | 'Ville' : ('Ville Vainio','vivainio@gmail.com'), |
|
85 | 85 | 'Brian' : ('Brian E Granger', 'ellisonbg@gmail.com'), |
|
86 | 86 | 'Min' : ('Min Ragan-Kelley', 'benjaminrk@gmail.com') |
|
87 | 87 | } |
|
88 | 88 | |
|
89 | 89 | author = 'The IPython Development Team' |
|
90 | 90 | |
|
91 | 91 | author_email = 'ipython-dev@scipy.org' |
|
92 | 92 | |
|
93 | 93 | url = 'http://ipython.scipy.org' |
|
94 | 94 | |
|
95 | 95 | download_url = 'http://ipython.scipy.org/dist' |
|
96 | 96 | |
|
97 | 97 | platforms = ['Linux','Mac OSX','Windows XP/2000/NT','Windows 95/98/ME'] |
|
98 | 98 | |
|
99 | 99 | keywords = ['Interactive','Interpreter','Shell','Parallel','Distributed'] |
@@ -1,36 +1,36 b'' | |||
|
1 | 1 | #!/usr/bin/env python |
|
2 | 2 | """Simple script to create a tarball with proper bzr version info. |
|
3 | 3 | """ |
|
4 | 4 | |
|
5 | 5 | import os,sys,shutil |
|
6 | 6 | |
|
7 |
basever = '0. |
|
|
7 | basever = '0.9.0' | |
|
8 | 8 | |
|
9 | 9 | def oscmd(c): |
|
10 | 10 | print ">",c |
|
11 | 11 | s = os.system(c) |
|
12 | 12 | if s: |
|
13 | 13 | print "Error",s |
|
14 | 14 | sys.exit(s) |
|
15 | 15 | |
|
16 | 16 | def verinfo(): |
|
17 | 17 | |
|
18 | 18 | out = os.popen('bzr version-info') |
|
19 | 19 | pairs = (l.split(':',1) for l in out) |
|
20 | 20 | d = dict(((k,v.strip()) for (k,v) in pairs)) |
|
21 | 21 | return d |
|
22 | 22 | |
|
23 | 23 | basename = 'ipython' |
|
24 | 24 | |
|
25 | 25 | #tarname = '%s.r%s.tgz' % (basename, ver) |
|
26 | 26 | oscmd('python update_revnum.py') |
|
27 | 27 | |
|
28 | 28 | ver = verinfo() |
|
29 | 29 | |
|
30 | 30 | if ver['branch-nick'] == 'ipython': |
|
31 | 31 | tarname = 'ipython-%s.bzr.r%s.tgz' % (basever, ver['revno']) |
|
32 | 32 | else: |
|
33 |
tarname = 'ipython-%s.bzr.r%s.%s.tgz' % (basever, ver['revno'], |
|
|
33 | tarname = 'ipython-%s.bzr.r%s.%s.tgz' % (basever, ver['revno'], | |
|
34 | ver['branch-nick']) | |
|
34 | 35 | |
|
35 | 36 | oscmd('bzr export ' + tarname) |
|
36 |
@@ -1,37 +1,37 b'' | |||
|
1 | 1 | #!/bin/sh |
|
2 | 2 | |
|
3 | 3 | # release test |
|
4 | 4 | |
|
5 | 5 | ipdir=~/ipython/ipython |
|
6 | 6 | ipbackupdir=~/ipython/backup |
|
7 | 7 | |
|
8 | 8 | cd $ipdir |
|
9 | 9 | |
|
10 | 10 | # Clean up build/dist directories |
|
11 | 11 | rm -rf $ipdir/build/* |
|
12 | 12 | rm -rf $ipdir/dist/* |
|
13 | 13 | |
|
14 | 14 | # Perform local backup |
|
15 | 15 | cd $ipdir/tools |
|
16 | 16 | ./make_tarball.py |
|
17 | 17 | mv ipython-*.tgz $ipbackupdir |
|
18 | 18 | |
|
19 | 19 | # build source distros |
|
20 | 20 | cd $ipdir |
|
21 | 21 | ./setup.py sdist --formats=gztar |
|
22 | 22 | |
|
23 | 23 | # Build rpms |
|
24 | python2.4 ./setup.py bdist_rpm --binary-only --release=py24 --python=/usr/bin/python2.4 | |
|
25 | python2.5 ./setup.py bdist_rpm --binary-only --release=py25 --python=/usr/bin/python2.5 | |
|
24 | #python2.4 ./setup.py bdist_rpm --binary-only --release=py24 --python=/usr/bin/python2.4 | |
|
25 | #python2.5 ./setup.py bdist_rpm --binary-only --release=py25 --python=/usr/bin/python2.5 | |
|
26 | 26 | |
|
27 | 27 | # Build eggs |
|
28 | 28 | python2.4 ./setup_bdist_egg.py |
|
29 | 29 | python2.5 ./setup_bdist_egg.py |
|
30 | 30 | |
|
31 | 31 | # Call the windows build separately, so that the extra Windows scripts don't |
|
32 | 32 | # get pulled into Unix builds (setup.py has code which checks for |
|
33 | 33 | # bdist_wininst) |
|
34 | 34 | ./setup.py bdist_wininst --install-script=ipython_win_post_install.py |
|
35 | 35 | |
|
36 | 36 | # Change name so retarded Vista runs the installer correctly |
|
37 | 37 | rename 's/win32/win32-setup/' $ipdir/dist/*.exe |
General Comments 0
You need to be logged in to leave comments.
Login now