##// END OF EJS Templates
Fix unintentional skipping of module level doctests...
Fix unintentional skipping of module level doctests Importing `skip_doctest` decorator unintentionally marks for skipping a module level doctest. It happens because doctests discovery only checks whether a variable with name `skip_doctest` is presented without checking the type. I have renamed the 'magic' variable name to `__skip_doctest__` to resolve the name clash, and also made the check actually depend on the variable content. The module level doctest in `core/debugger.py` was previously unintentionally skipped and now is disabled because it contains syntax/name errors.

File last commit:

r25769:36ef3227
r26873:17153999
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()