Show More
@@ -1,99 +1,97 b'' | |||
|
1 | 1 | # -*- coding: utf-8 -*- |
|
2 | """Release data for the IPython project. | |
|
3 | ||
|
4 | $Id: Release.py 3002 2008-02-01 07:17:00Z fperez $""" | |
|
2 | """Release data for the IPython project.""" | |
|
5 | 3 | |
|
6 | 4 | #***************************************************************************** |
|
7 | 5 | # Copyright (C) 2001-2006 Fernando Perez <fperez@colorado.edu> |
|
8 | 6 | # |
|
9 | 7 | # Copyright (c) 2001 Janko Hauser <jhauser@zscout.de> and Nathaniel Gray |
|
10 | 8 | # <n8gray@caltech.edu> |
|
11 | 9 | # |
|
12 | 10 | # Distributed under the terms of the BSD License. The full license is in |
|
13 | 11 | # the file COPYING, distributed as part of this software. |
|
14 | 12 | #***************************************************************************** |
|
15 | 13 | |
|
16 | 14 | # Name of the package for release purposes. This is the name which labels |
|
17 | 15 | # the tarballs and RPMs made by distutils, so it's best to lowercase it. |
|
18 | 16 | name = 'ipython' |
|
19 | 17 | |
|
20 | 18 | # For versions with substrings (like 0.6.16.svn), use an extra . to separate |
|
21 | 19 | # the new substring. We have to avoid using either dashes or underscores, |
|
22 | 20 | # because bdist_rpm does not accept dashes (an RPM) convention, and |
|
23 | 21 | # bdist_deb does not accept underscores (a Debian convention). |
|
24 | 22 | |
|
25 | 23 | development = False # change this to False to do a release |
|
26 | 24 | version_base = '0.9' |
|
27 | 25 | branch = 'ipython' |
|
28 |
revision = '11 |
|
|
26 | revision = '1143' | |
|
29 | 27 | |
|
30 | 28 | if development: |
|
31 | 29 | if branch == 'ipython': |
|
32 | 30 | version = '%s.bzr.r%s' % (version_base, revision) |
|
33 | 31 | else: |
|
34 | 32 | version = '%s.bzr.r%s.%s' % (version_base, revision, branch) |
|
35 | 33 | else: |
|
36 | 34 | version = version_base |
|
37 | 35 | |
|
38 | 36 | |
|
39 | 37 | description = "Tools for interactive development in Python." |
|
40 | 38 | |
|
41 | 39 | long_description = \ |
|
42 | 40 | """ |
|
43 | 41 | IPython provides a replacement for the interactive Python interpreter with |
|
44 | 42 | extra functionality. |
|
45 | 43 | |
|
46 | 44 | Main features: |
|
47 | 45 | |
|
48 | 46 | * Comprehensive object introspection. |
|
49 | 47 | |
|
50 | 48 | * Input history, persistent across sessions. |
|
51 | 49 | |
|
52 | 50 | * Caching of output results during a session with automatically generated |
|
53 | 51 | references. |
|
54 | 52 | |
|
55 | 53 | * Readline based name completion. |
|
56 | 54 | |
|
57 | 55 | * Extensible system of 'magic' commands for controlling the environment and |
|
58 | 56 | performing many tasks related either to IPython or the operating system. |
|
59 | 57 | |
|
60 | 58 | * Configuration system with easy switching between different setups (simpler |
|
61 | 59 | than changing $PYTHONSTARTUP environment variables every time). |
|
62 | 60 | |
|
63 | 61 | * Session logging and reloading. |
|
64 | 62 | |
|
65 | 63 | * Extensible syntax processing for special purpose situations. |
|
66 | 64 | |
|
67 | 65 | * Access to the system shell with user-extensible alias system. |
|
68 | 66 | |
|
69 | 67 | * Easily embeddable in other Python programs. |
|
70 | 68 | |
|
71 | 69 | * Integrated access to the pdb debugger and the Python profiler. |
|
72 | 70 | |
|
73 | 71 | The latest development version is always available at the IPython subversion |
|
74 | 72 | repository_. |
|
75 | 73 | |
|
76 | 74 | .. _repository: http://ipython.scipy.org/svn/ipython/ipython/trunk#egg=ipython-dev |
|
77 | 75 | """ |
|
78 | 76 | |
|
79 | 77 | license = 'BSD' |
|
80 | 78 | |
|
81 | 79 | authors = {'Fernando' : ('Fernando Perez','fperez@colorado.edu'), |
|
82 | 80 | 'Janko' : ('Janko Hauser','jhauser@zscout.de'), |
|
83 | 81 | 'Nathan' : ('Nathaniel Gray','n8gray@caltech.edu'), |
|
84 | 82 | 'Ville' : ('Ville Vainio','vivainio@gmail.com'), |
|
85 | 83 | 'Brian' : ('Brian E Granger', 'ellisonbg@gmail.com'), |
|
86 | 84 | 'Min' : ('Min Ragan-Kelley', 'benjaminrk@gmail.com') |
|
87 | 85 | } |
|
88 | 86 | |
|
89 | 87 | author = 'The IPython Development Team' |
|
90 | 88 | |
|
91 | 89 | author_email = 'ipython-dev@scipy.org' |
|
92 | 90 | |
|
93 | 91 | url = 'http://ipython.scipy.org' |
|
94 | 92 | |
|
95 | 93 | download_url = 'http://ipython.scipy.org/dist' |
|
96 | 94 | |
|
97 | 95 | platforms = ['Linux','Mac OSX','Windows XP/2000/NT','Windows 95/98/ME'] |
|
98 | 96 | |
|
99 | 97 | keywords = ['Interactive','Interpreter','Shell','Parallel','Distributed'] |
@@ -1,60 +1,58 b'' | |||
|
1 | 1 | #!/bin/sh |
|
2 | 2 | # IPython release script |
|
3 | 3 | |
|
4 | 4 | PYVER=`python -V 2>&1 | awk '{print $2}' | awk -F '.' '{print $1$2}' ` |
|
5 | 5 | version=`ipython -Version` |
|
6 | 6 | ipdir=~/ipython/ipython |
|
7 | 7 | ipbackupdir=~/ipython/backup |
|
8 | 8 | |
|
9 | 9 | echo |
|
10 | 10 | echo "Releasing IPython version $version" |
|
11 | 11 | echo "==================================" |
|
12 | 12 | |
|
13 | echo "Marking ChangeLog with release information and making NEWS file..." | |
|
14 | ||
|
15 | # Clean up build/dist directories | |
|
16 | rm -rf $ipdir/build/* | |
|
17 | rm -rf $ipdir/dist/* | |
|
18 | ||
|
19 | 13 | # Perform local backup |
|
20 | 14 | cd $ipdir/tools |
|
21 | 15 | ./make_tarball.py |
|
22 | 16 | mv ipython-*.tgz $ipbackupdir |
|
23 | 17 | |
|
18 | # Clean up build/dist directories | |
|
19 | rm -rf $ipdir/build/* | |
|
20 | rm -rf $ipdir/dist/* | |
|
21 | ||
|
24 | 22 | # Build source and binary distros |
|
25 | 23 | cd $ipdir |
|
26 | 24 | ./setup.py sdist --formats=gztar |
|
27 | 25 | |
|
28 | 26 | # Build version-specific RPMs, where we must use the --python option to ensure |
|
29 | 27 | # that the resulting RPM is really built with the requested python version (so |
|
30 | 28 | # things go to lib/python2.X/...) |
|
31 | python2.4 ./setup.py bdist_rpm --binary-only --release=py24 --python=/usr/bin/python2.4 | |
|
32 | python2.5 ./setup.py bdist_rpm --binary-only --release=py25 --python=/usr/bin/python2.5 | |
|
29 | #python2.4 ./setup.py bdist_rpm --binary-only --release=py24 --python=/usr/bin/python2.4 | |
|
30 | #python2.5 ./setup.py bdist_rpm --binary-only --release=py25 --python=/usr/bin/python2.5 | |
|
33 | 31 | |
|
34 | 32 | # Build eggs |
|
35 | 33 | python2.4 ./setup_bdist_egg.py |
|
36 | 34 | python2.5 ./setup_bdist_egg.py |
|
37 | 35 | |
|
38 | 36 | # Call the windows build separately, so that the extra Windows scripts don't |
|
39 | 37 | # get pulled into Unix builds (setup.py has code which checks for |
|
40 | 38 | # bdist_wininst) |
|
41 | 39 | ./setup.py bdist_wininst --install-script=ipython_win_post_install.py |
|
42 | 40 | |
|
43 | 41 | # Change name so retarded Vista runs the installer correctly |
|
44 | 42 | rename 's/win32/win32-setup/' $ipdir/dist/*.exe |
|
45 | 43 | |
|
46 | 44 | # Register with the Python Package Index (PyPI) |
|
47 | 45 | echo "Registering with PyPI..." |
|
48 | 46 | cd $ipdir |
|
49 | 47 | ./setup.py register |
|
50 | 48 | |
|
51 | 49 | # Upload all files |
|
52 | 50 | cd $ipdir/dist |
|
53 | 51 | echo "Uploading distribution files..." |
|
54 | 52 | scp * ipython@ipython.scipy.org:www/dist/ |
|
55 | 53 | |
|
56 | 54 | echo "Uploading backup files..." |
|
57 | 55 | cd $ipbackupdir |
|
58 | 56 | scp `ls -1tr *tgz | tail -1` ipython@ipython.scipy.org:www/backup/ |
|
59 | 57 | |
|
60 | 58 | echo "Done!" |
General Comments 0
You need to be logged in to leave comments.
Login now