##// END OF EJS Templates
Require pygments>=2.4.0...
Require pygments>=2.4.0 As noted in #13441, running ipython with an old version of pygments leads to problems. Ipython sends ANSI color names to pygments to color output, but these names aren't in old versions of pygments. Before: with pygments 2.3.1 and ipython 8.0.0, opening an ipython instance and running In [1]: 1 / 0 # Expect ZeroDivisionError will crash ipython as `ansiyellow` is used to highlight the error. This PR requires pygments>=2.4.0, which is when pygments changed their ANSI color names.

File last commit:

r27319:02470596
r27425:e902466b
Show More
build_release
21 lines | 493 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
Fernando Perez
Build 64-bit windows installer via Wine.
r6601
Matthias Bussonnier
clean
r27319 from toollib import sh, get_ipdir, cd, build_command
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
Matthias Bussonnier
clean
r27319 sh(build_command)
Matthias Bussonnier
fix long description
r27317 # don't try to change, xz, bz2 deprecated.
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()