##// END OF EJS Templates
Move IPython lexers module to lib...
Move IPython lexers module to lib Closes gh-7941 I've left a backwards compatibility module in IPython.nbconvert.utils.lexers - I don't know if anyone is importing it directly, but since we put it in entry points, we should probably consider it public API.

File last commit:

r20277:6ceb4492
r20625:857d102d
Show More
build_release
28 lines | 592 B | text/plain | TextLexer
#!/usr/bin/env python
"""IPython release build script.
"""
import os
from shutil import rmtree
from toollib import *
# Get main ipython dir, this will raise if it doesn't pass some checks
ipdir = get_ipdir()
cd(ipdir)
# Load release info
execfile(pjoin('IPython', 'core', 'release.py'), globals())
# Check that everything compiles
compile_tree()
# Cleanup
for d in ['build', 'dist', pjoin('docs', 'build'), pjoin('docs', 'dist'),
pjoin('docs', 'source', 'api', 'generated')]:
if os.path.isdir(d):
rmtree(d)
# Build source and binary distros
sh(sdists)
sh(wheels)