##// END OF EJS Templates
Add egg support.
fperez -
Show More
@@ -0,0 +1,11 b''
1 #!/usr/bin/env python
2 """Simple wrapper to build IPython as an egg (setuptools format)."""
3
4 import sys
5
6 import pkg_resources
7 pkg_resources.require("setuptools")
8 import setuptools
9
10 sys.argv=['','bdist_egg']
11 execfile('setup.py')
@@ -1,3 +1,8 b''
1 2006-01-09 Fernando Perez <Fernando.Perez@colorado.edu>
2
3 * setup_bdist_egg.py: little script to build an egg. Added
4 support in the release tools as well.
5
1 6 2006-01-08 Fernando Perez <Fernando.Perez@colorado.edu>
2 7
3 8 * IPython/Shell.py (IPShellWX.__init__): add support for WXPython
@@ -830,7 +830,7 b' verb| $ sudo pythonw setup.py install --install-scripts=/usr/local/bin|'
830 830 \newline
831 831
832 832 \begin_inset ERT
833 status Open
833 status Collapsed
834 834
835 835 \layout Standard
836 836
@@ -2241,6 +2241,54 b' Define your own macros with'
2241 2241 .
2242 2242 This can be useful for automating sequences of expressions when working
2243 2243 interactively.
2244 You can edit a macro (they are just Python variables holding your input
2245 as a string) by simply typing `
2246 \family typewriter
2247 %edit macroname
2248 \family default
2249 ', and macros can be stored persistently across session with `
2250 \family typewriter
2251 %store macroname
2252 \family default
2253 ' (the storage system is per-profile).
2254 The combination of quick macros, persistent storage and editing, allows
2255 you to easily refine quick-and-dirty interactive input into permanent utilities
2256 , always available both in IPython and as files for general reuse.
2257 \layout Itemize
2258
2259 While
2260 \family typewriter
2261 %macro
2262 \family default
2263 saves input lines into memory for interactive re-execution, sometimes you'd
2264 like to save your input directly to a file.
2265 The
2266 \family typewriter
2267 %save
2268 \family default
2269 magic does this: its input sytnax is the same as
2270 \family typewriter
2271 %macro
2272 \family default
2273 , but it saves your input directly to a Python file.
2274 Note that the
2275 \family typewriter
2276 %logstart
2277 \family default
2278 command also saves input, but it logs
2279 \emph on
2280 all
2281 \emph default
2282 input to disk (though you can temporarily suspend it and reactivate it
2283 with
2284 \family typewriter
2285 %logoff/%logon
2286 \family default
2287 );
2288 \family typewriter
2289 %save
2290 \family default
2291 allows you to select which lines of input you need to save.
2244 2292 \layout Itemize
2245 2293
2246 2294 Define your own system aliases.
@@ -50,6 +50,10 b' python2.3 ./setup.py bdist_rpm --release=py23 --python=/usr/bin/python2.3'
50 50 # lib/python2.4/...)
51 51 python2.4 ./setup.py bdist_rpm --release=py24 --python=/usr/bin/python2.4
52 52
53 # Build eggs
54 python2.3 ./setup_bdist_egg.py
55 python2.4 ./setup_bdist_egg.py
56
53 57 # Call the windows build separately, so that the extra Windows scripts don't
54 58 # get pulled into Unix builds (setup.py has code which checks for
55 59 # bdist_wininst)
@@ -14,6 +14,10 b' cd ~/ipython/ipython'
14 14 python2.3 ./setup.py bdist_rpm --release=py23 --python=/usr/bin/python2.3
15 15 python2.4 ./setup.py bdist_rpm --release=py24 --python=/usr/bin/python2.4
16 16
17 # Build eggs
18 python2.3 ./setup_bdist_egg.py
19 python2.4 ./setup_bdist_egg.py
20
17 21 # Call the windows build separately, so that the extra Windows scripts don't
18 22 # get pulled into Unix builds (setup.py has code which checks for
19 23 # bdist_wininst)
General Comments 0
You need to be logged in to leave comments. Login now