##// END OF EJS Templates
Merge pull request #12086 from tacaswell/mnt_pytest...
Merge pull request #12086 from tacaswell/mnt_pytest MNT: update pytest.ini to work with pytest > 3

File last commit:

r24558:7af058aa
r25424:a6082c6f merge
Show More
build_release
26 lines | 623 B | text/plain | TextLexer
Thomas Kluyver
Release scripts need to use Python 3
r24250 #!/usr/bin/env python3
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
Matthias Bussonnier
cleanup build process
r24558 from toollib import sh, pjoin, get_ipdir, cd, 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 # 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()