##// END OF EJS Templates
Statically type OInfo. (#13973)...
Statically type OInfo. (#13973) In view of working with #13860, some cleanup inspect to be properly typed, and using stricter datastructure. Instead of dict we now use dataclasses, this will make sure that fields type and access can be stricter and verified not only at runtime, but by mypy

File last commit:

r27319:02470596
r28166:29b451fc merge
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()