##// END OF EJS Templates
Switch master to development of 6.0...
Switch master to development of 6.0 I'm thinking about this because we've just released 5.1, but I'm happy for it to wait a bit longer if we prefer. As planned, 6.0 will require Python 3, while we will continue to support 5.x for some time for Python 2 users. Before merging this, we should send a message to the mailing list for any Python 2 users following master, and make a 5.x branch off master.

File last commit:

r22064:3b61f328
r22795:3074aa87
Show More
build_release
29 lines | 721 B | text/plain | TextLexer
#!/usr/bin/env python
"""IPython release build script.
"""
import os
from shutil import rmtree
from toollib import sh, pjoin, get_ipdir, cd, execfile, sdists, buildwheels
def build_release():
# 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())
# 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)
buildwheels()
if __name__ == '__main__':
build_release()