##// END OF EJS Templates
Protect against failure to show local data....
Protect against failure to show local data. See https://github.com/napari/napari/pull/3201 where formatting traceback was failing and lead to silenced errors. With this change we instead get the rest of the traceback but without the local variables, which is still better.

File last commit:

r25769:36ef3227
r26712:053e48a3
Show More
build_release
22 lines | 496 B | text/plain | TextLexer
#!/usr/bin/env python3
"""IPython release build script.
"""
import os
import sys
from shutil import rmtree
from toollib import sh, pjoin, get_ipdir, cd, sdists, buildwheels
def build_release():
# Get main ipython dir, this will raise if it doesn't pass some checks
ipdir = get_ipdir()
cd(ipdir)
# Build source and binary distros
sh(sdists)
buildwheels()
sh(' '.join([sys.executable, 'tools/retar.py', 'dist/*.gz']))
if __name__ == '__main__':
build_release()