##// END OF EJS Templates
Merge pull request #6133 from SylvainCorlay/unilink...
Merge pull request #6133 from SylvainCorlay/unilink Unidirectional link of traitlets

File last commit:

r17581:c18b5832
r17632:ee6e9bbe merge
Show More
build_release
27 lines | 560 B | text/plain | TextLexer
#!/usr/bin/env python
"""IPython release build script.
"""
import os
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'))
# 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):
remove_tree(d)
# Build source and binary distros
sh(sdists)
sh(wheels)