##// END OF EJS Templates
Merge pull request #11006 from Carreau/fix-ipython-spelling...
Merge pull request #11006 from Carreau/fix-ipython-spelling Fix IPython spelling

File last commit:

r23941:80cec70f
r24144:cc353b25 merge
Show More
build_release
33 lines | 913 B | text/plain | TextLexer
Fernando Perez
Fixes to build/doc scripts.
r1206 #!/usr/bin/env python
Fernando Perez
Cleaned up release tools directory....
r2118 """IPython release build script.
ville
initialization (no svn history)
r988 """
Fernando Perez
Build 64-bit windows installer via Wine.
r6601 import os
MinRK
more minor fixes to release scripts...
r17631 from shutil import rmtree
Fernando Perez
Build 64-bit windows installer via Wine.
r6601
Thomas Kluyver
Remove pycompile check for building packages
r22064 from toollib import sh, pjoin, get_ipdir, cd, execfile, sdists, buildwheels
Matthias Bussonnier
Factor build logic into function
r22043
def build_release():
# Get main ipython dir, this will raise if it doesn't pass some checks
ipdir = get_ipdir()
cd(ipdir)
ville
initialization (no svn history)
r988
Matthias Bussonnier
Factor build logic into function
r22043 # Load release info
execfile(pjoin('IPython', 'core', 'release.py'), globals())
ville
initialization (no svn history)
r988
Matthias Bussonnier
release 6.2.0
r23941 with open('docs/source/whatsnew/index.rst') as f:
if ' development' in f.read():
raise ValueError("Please remove `development` from what's new toctree for release")
Matthias Bussonnier
Factor build logic into function
r22043 # Cleanup
for d in ['build', 'dist', pjoin('docs', 'build'), pjoin('docs', 'dist'),
pjoin('docs', 'source', 'api', 'generated')]:
if os.path.isdir(d):
rmtree(d)
ville
initialization (no svn history)
r988
Matthias Bussonnier
Factor build logic into function
r22043 # Build source and binary distros
sh(sdists)
buildwheels()
Ville M. Vainio
mkrel changes (copy stff from 'release' sh script)
r1197
Matthias Bussonnier
Factor build logic into function
r22043 if __name__ == '__main__':
build_release()