##// END OF EJS Templates
Minor improvements to completion...
Minor improvements to completion If object being completed is a function, append `()` to match the convention used in cpython doc. This include methods. Append `()` only in the _displayed_ menu, does not insert the (). If completion is relatively to long (mostly if is does not come from jedi), and use a fully qualified name with more than 3 parts, ellides the middles one to `…`. (This closes #9835).

File last commit:

r5731:a1ccd554
r23467:ca19ba90
Show More
testupload
22 lines | 618 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)
# Create remote path if it doesn't exist.
sh('ssh %s "mkdir -p %s/testing/%s" ' % (archive_user, archive_dir, version))
sh('scp * %s' % testing_site)