1. 7f51a0332edd0c675c2d314ca3e62df7ef041281 deps/ipython (8.4.0-33-g7f51a0332)
22 lines
493 B
Python
Executable File
22 lines
493 B
Python
Executable File
#!/usr/bin/env python3
|
|
"""IPython release build script.
|
|
"""
|
|
import os
|
|
import sys
|
|
|
|
from toollib import sh, get_ipdir, cd, build_command
|
|
|
|
def build_release():
|
|
|
|
# Get main ipython dir, this will raise if it doesn't pass some checks
|
|
ipdir = get_ipdir()
|
|
cd(ipdir)
|
|
|
|
# Build source and binary distros
|
|
sh(build_command)
|
|
# don't try to change, xz, bz2 deprecated.
|
|
sh(' '.join([sys.executable, 'tools/retar.py', 'dist/*.gz']))
|
|
|
|
if __name__ == '__main__':
|
|
build_release()
|