##// END OF EJS Templates
Do not use version # in codemirror directory name....
Do not use version # in codemirror directory name. Simply call it 'codemirror', so we don't have explicit version numbers inside a bunch of files. A file called ipython-version-N.NN will be kept to easily let us know which version we're shipping with IPython.

File last commit:

r4454:5e1dd6cd
r4934:265d40c7
Show More
testupload
21 lines | 576 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)
# FIXME: this assumes the path *with the version number* exists on the server
sh('scp * %s' % testing_site)