##// END OF EJS Templates
Move Extraction of local scope to a method...
Move Extraction of local scope to a method When calling ipython magic from pdb, the locals need to be set from the pdb locals, which is different from the frame locals. Moving this call to a method enables a subclass to change the behaviour of `get_local_scope` to make this possible. This would enable using `%timeit` while debugging in Spyder for example

File last commit:

r25769:36ef3227
r25886:f12b9485
Show More
build_release
22 lines | 496 B | text/plain | TextLexer
Thomas Kluyver
Release scripts need to use Python 3
r24250 #!/usr/bin/env python3
Fernando Perez
Cleaned up release tools directory....
r2118 """IPython release build script.
ville
initialization (no svn history)
r988 """
Fernando Perez
Build 64-bit windows installer via Wine.
r6601 import os
Matthias Bussonnier
Update the release process to attempt reproducible builds....
r25769 import sys
MinRK
more minor fixes to release scripts...
r17631 from shutil import rmtree
Fernando Perez
Build 64-bit windows installer via Wine.
r6601
Matthias Bussonnier
cleanup build process
r24558 from toollib import sh, pjoin, get_ipdir, cd, sdists, buildwheels
Matthias Bussonnier
Factor build logic into function
r22043
def build_release():
# Get main ipython dir, this will raise if it doesn't pass some checks
ipdir = get_ipdir()
cd(ipdir)
ville
initialization (no svn history)
r988
Matthias Bussonnier
Factor build logic into function
r22043 # Build source and binary distros
sh(sdists)
buildwheels()
Matthias Bussonnier
Update the release process to attempt reproducible builds....
r25769 sh(' '.join([sys.executable, 'tools/retar.py', 'dist/*.gz']))
Ville M. Vainio
mkrel changes (copy stff from 'release' sh script)
r1197
Matthias Bussonnier
Factor build logic into function
r22043 if __name__ == '__main__':
build_release()