##// END OF EJS Templates
Update utilities to be all Python, use numbered paths in testing uploads.
Update utilities to be all Python, use numbered paths in testing uploads.

File last commit:

r4452:d010497a
r4452:d010497a
Show More
testupload
19 lines | 497 B | text/plain | TextLexer
#!/usr/bin/env python
"""Simple upload script to push up into the testing directory a local build
"""
from __future__ import print_function
from toollib import *
# Get main ipython dir, this will raise if it doesn't pass some checks
ipdir = get_ipdir()
distdir = pjoin(ipdir, 'dist')
# Load release info
execfile(pjoin(ipdir, 'IPython','core','release.py'))
# Build site addresses for file uploads
testing_site = '%s/testing/%s' % (archive, version)
cd(distdir)
sh('scp * %s' % testing_site)