##// END OF EJS Templates
Require pygments>=2.4.0...
Require pygments>=2.4.0 As noted in #13441, running ipython with an old version of pygments leads to problems. Ipython sends ANSI color names to pygments to color output, but these names aren't in old versions of pygments. Before: with pygments 2.3.1 and ipython 8.0.0, opening an ipython instance and running In [1]: 1 / 0 # Expect ZeroDivisionError will crash ipython as `ansiyellow` is used to highlight the error. This PR requires pygments>=2.4.0, which is when pygments changed their ANSI color names.

File last commit:

r5731:a1ccd554
r27425:e902466b
Show More
testupload
22 lines | 618 B | text/plain | TextLexer
Fernando Perez
Update utilities to be all Python, use numbered paths in testing uploads.
r4452 #!/usr/bin/env python
"""Simple upload script to push up into the testing directory a local build
"""
from __future__ import print_function
Fernando Perez
Update utility scripts for bzr workflow
r1542
Fernando Perez
Update utilities to be all Python, use numbered paths in testing uploads.
r4452 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)
Fernando Perez
Minor updates to release tools
r4454
Fernando Perez
Fix upload tool to automatically create directories.
r5731 # Create remote path if it doesn't exist.
sh('ssh %s "mkdir -p %s/testing/%s" ' % (archive_user, archive_dir, version))
Fernando Perez
Update utilities to be all Python, use numbered paths in testing uploads.
r4452 sh('scp * %s' % testing_site)